From a16f60dc83803eec60db517909f97393703422ee Mon Sep 17 00:00:00 2001 From: Constantin Bergatt Date: Wed, 4 Dec 2024 09:19:10 +0100 Subject: [PATCH] BC-7905 - refine local setup --- docs/tldraw-server/Local setup.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/docs/tldraw-server/Local setup.md b/docs/tldraw-server/Local setup.md index b33e75a..ac34503 100644 --- a/docs/tldraw-server/Local setup.md +++ b/docs/tldraw-server/Local setup.md @@ -2,7 +2,7 @@ ### To run tldraw locally: -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/ +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. In the tldraw-server make a copy of .env.default and rename it to .env, in order to use the default configuration. 3. To run 1. npm run nest:start:dev (schulcloud-server) @@ -15,9 +15,9 @@ ### Create new whiteboard: -1. Go to a course -2. Go to 'Column board' -3. Create a new card and a new 'Whiteboard' element within it, then click it -4. A new browser tab with URL like: http://localhost:4000/tldraw?roomName=65c37329b2f97cc714d31c00 will open -5. Change the port part from 4000 to 3046, which is the default port of tldraw-client app -6. You should see a working tldraw whiteboard now +1. Go to a course. +2. Go to 'Column board'. +3. Create a new card and a new 'Whiteboard' element within it, then click it. +4. A new browser tab with URL like: http://localhost:4000/tldraw?roomName=65c37329b2f97cc714d31c00 will open. +5. Change the port part from 4000 to 3046, which is the default port of tldraw-client app. +6. You should see a working tldraw whiteboard now.