I suggest using the docker-compose configuration provided in the backend
folder. You can also run the backend and frontend separately while developing.
- Install Docker and Docker Compose.
- Run
docker compose up --build
in thebackend
folder to verify that everything works. This will build the frontend and start up the server. - The Docker setup has two variables to configure. The first is the
PORT
environment variable which is used to configure the port the server listens on. The second is theLEGAL_LINK
environment variable which is used to configure the URL the clients (with the arrows) will show for the "Imprint & Privacy Policy" link. When starting the containers manually, you can set them usingPORT=8080 LEGAL_LINK=https://example.com docker-compose up --build
. By default, the port is 5109 and the legal link is not set, which means that the link will not be shown. - Set up an internal redirect from the port you configured to the port the server listens on (5109 by default). The difficult part is making sure that
/socket.io
websocket connections don't get lost. Caddyserver does this automatically, so I suggest to use Caddy. - There are instructions on how to open the board below. Enjoy!
- Install Node.js and Python 3.
- Run
npm install
in thefrontend
folder to install the dependencies. - Run
python -m venv venv && source venv/bin/activate && pip install -r requirements.txt
in thebackend
folder to install the dependencies. - Run
npm start
in thefrontend
folder to build and watch the frontend. - Run
./start-backend.sh
in thebackend
folder to start the backend.