You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> **Note**: `degit` is a tool that downloads the latest version of a repository without the git history, giving you a clean starting point. Add a second argument to specify your project name (e.g., my-app).
18
18
19
19
3. Clone the repository directly and install dependencies:
> After deploying sync rules via CLI, the changes might not be reflected in the dashboard. If you want to see them in the dashboard, simply copy the contents of your `sync-rules.yaml` file and paste them into the dashboard's sync-rules editor, then redeploy.
106
+
> After deploying sync rules via CLI, the changes might not be reflected in the dashboard. If you want to see them in the dashboard, simply copy the contents of your `sync-rules.yaml` file and paste them into the dashboard's sync-rules editor, then redeploy.
107
107
108
108
#### Option 2: Using PowerSync Dashboard
109
109
110
110
If you prefer using the web interface:
111
111
112
112
1. In the [PowerSync dashboard](https://powersync.journeyapps.com/), create a new PowerSync instance:
113
-
- Right-click on 'PowerSync Project' in the project tree on the left and click "Create new instance"
114
-
- Pick a name for the instance e.g. "Yjs Demo Test" and proceed.
113
+
- Right-click on 'PowerSync Project' in the project tree on the left and click "Create new instance"
114
+
- Pick a name for the instance e.g. "Yjs Demo Test" and proceed.
115
115
116
116
2. In the "Edit Instance" dialog that follows, click on the "Connections" tab:
117
-
- Click on the "+" button to create a new database connection.
118
-
- Input the credentials from the project you created in Supabase. In the Supabase dashboard, under your project you can go to "Project Settings" and then "Database" and choose "URI" under "Connection string", **untick the "Use connection pooling" option** to use the direct connection, and then copy & paste the connection string into the PowerSync dashboard "URI" field, and then enter your database password at the "Password" field.
119
-
- Click the "Test connection" button and you should see "Connection success!"
117
+
- Click on the "+" button to create a new database connection.
118
+
- Input the credentials from the project you created in Supabase. In the Supabase dashboard, under your project you can go to "Project Settings" and then "Database" and choose "URI" under "Connection string", **untick the "Use connection pooling" option** to use the direct connection, and then copy & paste the connection string into the PowerSync dashboard "URI" field, and then enter your database password at the "Password" field.
119
+
- Click the "Test connection" button and you should see "Connection success!"
120
120
121
121
3. Click on the "Credentials" tab of the "Edit Instance" dialog:
122
-
- Tick the "Use Supabase Auth" checkbox and configure the JWT secret.
123
-
- Click "Save" to save all the changes to your PowerSync instance. The instance will now be deployed — this may take a minute or two.
122
+
- Tick the "Use Supabase Auth" checkbox and configure the JWT secret.
123
+
- Click "Save" to save all the changes to your PowerSync instance. The instance will now be deployed — this may take a minute or two.
0 commit comments