Snakey.io implementation files
-
Download & install Node.js
-
Download snakey.io code or clone repository.
git clone git@github.com:gkapkowski/snakey.io.git cd snakey.io/
-
Install dependencies
npm install package.json
-
Start server (default port: 5000)
npm start
or
node server/server.js [PORT]
-
Download & install Heroku Toolbelt
-
Clone snakey.io repository
git clone git@github.com:gkapkowski/snakey.io.git cd snakey.io/
-
Create new heroku app with snakey.io (Heroku will automatically add new remote repo)
heroku create
-
Deploy your snakey.io instance
git push heroku master
-
Download snakey.io code (Download) or clone repository.
git clone git@github.com:gkapkowski/snakey.io.git
It's recommended to run snake server in virtual enviroment. Read more at http://www.virtualenv.org/en/latest/
-
go to example django snake dir
cd snakey.io/examples/django
-
Install requirements:
pip install requirements.txt
-
Run server (default port 8000)
gunicorn example.wsgi:application
-
Download & install Node.js from http://nodejs.org/download/
-
Go to example snake dir
cd snakey.io/examples/node/
-
Install dependencies
npm install
-
Run server (default port 8001)
npm start
or
node snake.js
TODO: update