Virtual Env:
sudo apt-get install python-pip
sudo pip install virtualenv
Node:
sudo apt-get install nodejs
sudo ln -s /usr/bin/nodejs /usr/bin/node
Webpack:
sudo npm install -g webpack
Clone and change directory:
git clone https://github.com/tomkoker/bookflip && cd bookflip
Create python virtual environment:
virtualenv -p /usr/bin/python2.7 venv
source venv/bin/activate
Install dependencies:
pip install -r requirements.txt
npm install
Initialize database:
python
>>> from server import db
>>> db.init_db()
>>> quit()
Build and start the server:
webpack
python run.py