Skip to content

Commit

Permalink
Merge pull request #36 from hpi-schul-cloud/improve-tldraw-local-setup
Browse files Browse the repository at this point in the history
Fix style
  • Loading branch information
CeEv authored Jun 17, 2024
2 parents bf2ae01 + ff94b96 commit 8b1e387
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions docs/services/tldraw/Local setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,13 @@

1. Run redis i.e. in a docker container, it will work on localhost:6379 by default which is what the REDIS_URI env var is set to, for example on wsl: https://redis.io/docs/latest/operate/oss_and_stack/install/install-redis/install-redis-on-windows/
2. Add to server repo the .env with following values
Please note redis default user is use and you can pass random value as password like the 123.
REDIS_URI=redis://default:[email protected]:6379
TLDRAW_ADMIN_API_CLIENT__API_KEY=randomString
ADMIN_API__ALLOWED_API_KEYS=randomString
TLDRAW_ADMIN_API_CLIENT__BASE_URL=http://localhost:3349
Please note redis default user is use and you can pass random value as password like the 123.

- REDIS_URI=redis://default:[email protected]:6379
- TLDRAW_ADMIN_API_CLIENT__API_KEY=randomString
- ADMIN_API__ALLOWED_API_KEYS=randomString
- TLDRAW_ADMIN_API_CLIENT__BASE_URL=http://localhost:3349

3. To run
1. npm run nest:start:dev (schulcloud-server)
2. npm run nest:start:files-storage:dev (schulcloud-server with s3, if you want to upload files)
Expand Down

0 comments on commit 8b1e387

Please sign in to comment.