- Angular CLI - Version 7 or higher
A step by step series of examples that tell you how to get a development env running
npm install
- Import project into IntelliJ IDEA.
- Select the folder where you put the git repo (/game-host).
- Let IntelliJ Gradle build the project. It will do this automatically
The game-host, -server and -pong can be deployed with Docker. The docker build
command must be run from inside their respective project directories. The projects must be run in this order:
- Run game-host:
docker build -t codeandcomedy-game-host .
docker run --rm -p 8080:8080 codeandcomedy-game-host
- Run game-server:
docker build -t codeandcomedy-game-server .
docker run --rm -p 5000:5000 codeandcomedy-game-server
- Run game-pong:
docker build -t codeandcomedy-game-pong .
docker run --rm -p 3000:80 codeandcomedy-game-pong
Upload production files to codeandcomedy.nl/games.
Go to codeandcomedy.nl/games in phone browser and enter a username and gamepin.