Usage (after cloning, assuming pip installed)
$ sudo pip install virtualenv virtualenvwrapper
$ mkvirtualenv PvPCenterFrontend
$ pip install nodeenv
$ nodeenv -p --prebuilt
$ npm install
$ npm install -g grunt-cli bower less coffee-script
$ pip install -r requirements/dev.txt
$ bower install
$ workon PvPCenterFrontend
$ grunt dev
$ python run_app.py
To activate virtualenv:
$ workon PvPCenterFrontend
To refresh static files (copy from dependencies and static files to /dist, you must kill server if running)
$ grunt static
$ python run_app.py
Autorefresh after file change (you can add it to your virtualenv postactivate script)
$ grunt watch
If virtualenvwrapper is not working, try setting WORKON_HOME variable in your ~/.bashrc file:
export WORKON_HOME=~/.virtualenvs
reload console and make sure, that WORKON_HOME folder exists:
$ mkdir $WORKON_HOME