Game development challenge for devoxx 2015
- NodeJS (https://nodejs.org/)
- Git (http://git-scm.com/book/en/v2/Getting-Started-Installing-Git)
- A text editor (http://www.sublimetext.com/3)
- A decent command line tool
- Clone this repo and cd into it:
git clone --recursive https://github.com/groupe-sii/devoxx-2015-game-front && cd devoxx-2015-game-front && git submodule foreach --recursive git checkout master
This command does three things:
- It clones this repo
- change directory to devoxx-2015-game-front
- Git checkout master branch of all submodules
- Fist, you need to install Gulp and Bower, using NPM:
npm i bower gulp
- Then, install local deps:
npm i && bower i
- Run a local dev server using Gulp:
gulp serve
If you need to build your code on your machine, use this command:
gulp build
The Socket server API documentation is in the documention folder. It is based on Swagger (http://swagger.io/). To run it locally, please refere to this repo (https://github.com/groupe-sii/devoxx-2015-game-doc).
You can also browse the API
Before you can push your changes, you need to ask for write access to the repository. First, you need to create a Github account. Then, you can contact Aurélien Baudet on the SII stand to send you an invitation.
Once you have developed your extension and you want to view it online, you need to push your changes to the remote git. But before doing this, ensure that you have the latest sources:
git pull
The merge should be done automatically. If you have conflicts, you can follow these guides to manually merge:
Now you can push to remote git server:
git push origin master
Our Jenkins will automatically build your extensions and deploy them on the server. You will soon see your extensions in action.
/!\ Please, this game has been done for making devoxx even funnier so do not break code of other participants
You need to install the xxx module manually:
npm i xxx