- Make sure that
docker,docker-composeandnodeis installed. - Clone this repo.
git clone git@github.com:olback/cah cah && cd cah. - Run
scripts/angular.sh. - Run
scripts/setup.sh. - Look over and edit
.envto your liking. - Run
docker-compose upto start the server. (add-dto run in the background) - That's it. You can now access the game on localhost:5000.
- Make sure that
docker,docker-composeandnodeis installed. - Clone this repo.
git clone git@github.com:olback/cah cah && cd cah. - Copy
.env.sampleto.env. - Edit.
.env. ChangeNODE_ENVtodevandNODE_COMMANDtonpm run dev. - Run
docker-compose up. - Open a new terminal. Run
docker exec cah_postgres_1 /bin/bash /scripts/install.shto 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.