Skip to content

Commit 5a8eea7

Browse files
committed
Add clear instructions for system user
1 parent fee6bf6 commit 5a8eea7

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -227,8 +227,10 @@ docker compose up --build
227227

228228
### 6. Create the System User
229229

230-
- The application uses the concept of a system user to process events async. You should manually create this user in `users` table in your database.
231-
Make sure you use the same `id` and `api_key` as the `EVENTS_QUEUE_USER_ID`, and `EVENTS_QUEUE_USER_API_KEY` in your `.env` file
230+
- The application uses the concept of a system user to process events async. You should manually create this user in `users` table in your database. Make sure you use the same `id` and `api_key` as the `EVENTS_QUEUE_USER_ID`, and `EVENTS_QUEUE_USER_API_KEY` in your `.env` file. You can create a system user with this SQL command `INSERT INTO users (id, api_key, email ) VALUES ('your-system-user-id', 'your-system-api-key', 'system@domain.com');`
231+
232+
> [!TIP]
233+
> Restart your API docker container after setting the `EVENTS_QUEUE_USER_ID`, and `EVENTS_QUEUE_USER_API_KEY` in your `.env` file
232234
233235
### 7. Build the Android App.
234236

0 commit comments

Comments
 (0)