Skip to content

Latest commit

 

History

History
51 lines (30 loc) · 938 Bytes

README.md

File metadata and controls

51 lines (30 loc) · 938 Bytes

How to

NodeJS v0.8.x is required

Install Dependencies

npm install

Compile the project

Run the following command at root of project

Develop Enviroment

grunt

Stagging Enviroment

grunt stage

Production Enviroment (Stagging and minified)

grunt prod

these 3 commands will compile all the project and leave the compiled files /dist

FileSystem Watcher

Only for Develop Enviroment

To set a watcher, so you wont need to be running grunt every time a change is made, run:

grunt w

So, everytime a file is saved inside /game it will run the compilation again

Test as Chrome APP

  • windows: Create a shortcut with target: "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --disable-web-security --user-data-dir="C:/temp-chrome-eng" --app="file:///[PATH]\client\dist\index.html"