You'll need Docker and Docker Compose.
In the project directory:
docker-compose up --build
To start as a daemon, and show logs:
docker-compose up --build -d && docker-compose logs -f
Building requires Node and Yarn.
In the project directory:
( cd backend && yarn install && yarn run build && cd .. && mv app app.backend && cd app.backend && ln -s ../backend/node_modules node_modules )
( cd frontend && yarn install && yarn run build && cd .. && mv app app.frontend && cd app.frontend && ln -s ../frontend/node_modules node_modules )
The build output can be found in the app.backend
and app.frontend
directories.
Start a redis instance and configure a socket (see unixsocket
in redis/redis.conf
).
In the project directory, execute in parallel:
( export SOCKET=path/to/the/redis.sock && cd app.backend && yarn run start; cd .. )
( export SOCKET=path/to/the/redis.sock && cd app.frontend && yarn run start; cd .. )