- Make sure that
docker
,docker-compose
andnode
is installed. - Clone this repo.
git clone [email protected]:olback/cah cah && cd cah
. - Run
scripts/angular.sh
. - Run
scripts/setup.sh
. - Look over and edit
.env
to your liking. - Run
docker-compose up
to start the server. (add-d
to run in the background) - That's it. You can now access the game on localhost:5000.
- Make sure that
docker
,docker-compose
andnode
is installed. - Clone this repo.
git clone [email protected]:olback/cah cah && cd cah
. - Copy
.env.sample
to.env
. - Edit.
.env
. ChangeNODE_ENV
todev
andNODE_COMMAND
tonpm run dev
. - Run
docker-compose up
. - Open a new terminal. Run
docker exec cah_postgres_1 /bin/bash /scripts/install.sh
to insert data. - Run
cd client && npm i && node_modules/.bin/ng serve
. - The server is now running on localhost:5000 and the Angular app (front-end) is running on localhost:4200.