The goal of this project is to build an MMO tank game implemented in JS with Babylon.js and Java.
- Install Java 8
- Install Docker
- Install rollup
npm install rollup -g
- Install uglify-es
npm install uglify-es -g
- Install an http file server
npm install http-server -g
- Install gradle (ensure gradle is in path)
- Install rollup
npm install rollup -g
- Install an http file server
npm install http-server -g
- Go to the client directory
cd client/
- Run
http-server
- Navigate to http://localhost:8080
- For the server drop-down, select team142.co.za
For the server you will need Java 8, gradle (in path) and docker. There are two ways you can run the the project:
You will now be running the client locally and connecting to the shared development server.
Run ./run.sh
or ./run.bat
. This will remove any references to the docker image in your local registry, use gradle to build the jar, build a docker image and run the image exposing the application locally on port 8080. See the source of those files for more details.
Run gradle bootRun
. Deploy the resulting war to a JEE 8 compliant web container running Java 8.