- install docker
- install docker-compose
- install make
- Configure .env.* files for all services
- Open the terminal and go to
/etc
folder. Typesudo nano hosts
. In opened file provide two host names for 127.0.0.1 ip address:
127.0.0.1 gurt.local.gg
- local
127.0.0.1 gurt.gg
- prod (you can replace with your production url)
(For windows:C:\Windows\System32\drivers\etc\hosts
)
Save the file. - Run
make install
to install packages. - Run
make up
to create and start a production build (gurt.gg
). - Run
make up-local
to start in dev mode (gurt.local.gg
).
Install all required modules
Start in production mode
Start locally
Stop all running containers without removing them
Start all existing containers
Restart all containers
Stop containers and remove containers, networks, volumes, and images created by 'up-prod' or 'up'
Run linter for client
Fix lint errors for client
Run linter for server
Fix lint errors for server
Run linter for storage server
Fix lint errors for storage server
Run all linters
Fix all linter errors
Clear database volume data (Be careful! Use only when you need to switch to prod database locally for testing purpose)