Starter Weppy is a web application starter kit built on the weppy framework.
TODO:
- Complete yeoman generator at https://github.com/mijdavis2/generator-weppy-mvc
Requirements:
- Python 3.5.1
For automated pip and virtual env setup and creation, clone this repository and in your terminal do:
. ./setup.sh
python run.py
Otherwise, do:
pip install -r requirements.txt
python run.py
To make your application available at http://localhost/
:
docker build -t starter-weppy .
docker run -it -p 80:8000 --rm --name starter-weppy starter-weppy
Running in development mode will enable debug pages, automatically create test, users in multiple states, and upon killing the app, those test users will automatically be deleted from the DB.
To start the app in development mode, do:
python run.py --dev
See starter_weppy/cli.py
for cli commands.
py.test -v -s --cov-report term-missing --cov=starter_weppy -r w tests
MIT © mijdavis2