Skip to content

Textbook trading website built with Flask and Vue.js

License

Notifications You must be signed in to change notification settings

Basal05/bookflip

Repository files navigation

Logo

bookflip

Dependency Status Code Climate

Author

Tom Koker

Installing

Dependencies

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

Installation

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

Create instance folder and config file:

mkdir instance && touch instance/config.py

Initialize database:

python
>>> from server import db
>>> db.init_db()
>>> quit()

Build and start the server:

webpack
python run.py

License

AGPL-3.0

About

Textbook trading website built with Flask and Vue.js

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 47.9%
  • Vue 39.5%
  • JavaScript 6.8%
  • CSS 4.7%
  • HTML 1.1%