Abdelrahman Abounegm
docker-compose up
to run in dev mode. It will automatically set the environment to develop and bind ports required for Svelte server and pgAdmin, as well as the source code volumes for hot reloading. The website should be accessible on localhost, while the Swagger Docs are to be on localhost:8080. For production mode, run docker-compose -f docker-compose.prod.yaml up
, which will remove any unnecessary binding and run much faster after the initial build.tmux attach-session
(or tmux a
for short) so that the output can be directed to a console to be inspected at any time and not abort when exiting the terminal session.docker-compose -f docker-compose.prod.yaml up -d --build
, optionally followed the name of the service to be rebuilt. This command can be run outside of the tmux session since it runs in detached mode, as long as you wait for it to complete rebuilding. Pulling from git can be done using git pull --recurse-submodules
in the innopoints directory, or git pull
in the innopoints, innopoints/frontend, and innopoints/backend directories. The second option will always pull the latest changes on the checked out branch regardless of which commit is referenced in main repo.