A simple prototype for the CAIT Business project.
- Clone repo:
git clone [email protected]:wiredcraft/cait
&cd cait
- Setup virtualenv:
virtualenv -p python3 venv
&source venv/bin/activate
- Install python requirements:
pip install -r requirements.txt
- Seed database:
python init_db.py
- Run test server:
python run.py
and navigate to localhost:5000/api
And the front-end:
- Install deps:
npm install
- Start webpack-dev-server:
npm start
for auto-reloading bundles (make sure Flask is running in debug mode)
- Make sure Flask is not running in debug mode
- Run
npm run build
to build a minified bundle of the static files