First, ensure you have the following installed:
After that, use Git bash
to run all commands if you are on Windows platform.
In order to start the project use:
$ git clone https://github.com/vitto-moz/tanks.git
$ cd tanks
To run server locally, just install dependencies and run gulp
task to create a build:
$ cd server
$ npm install -g gulp-cli
$ npm install
$ gulp build
$ npm start
To build and restart server file on every changes of ts files - run:
$ npm run dev
The socket.io
server will be running on port 8080
Open other command line window and run following commands:
$ cd client
$ yarn install
$ yarn start
Now open your browser in following URL: http://localhost:4300/
MIT