Weppy Mvc Demo is a full stack python application built with generator-weppy-mvc. Generator-weppy-mvc is based on the starter-weppy project.
Live demo: https://starter-weppy.com
Starter Weppy is a python web application starter kit built on the weppy framework. Current version is based on Weppy 0.7 with an MVC scaffolding. An api module, dev mode, and 100% test coverage are included out of the box.
Demos and Tutorials
- auth models/forms
- advanced models
- user input and forms
- multi-language support
- etc
Requirements:
- Python 3.4+ or 3.5+
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 weppy_mvc_demo .
docker run -it -p 80:8000 --rm --name weppy_mvc_demo weppy_mvc_demo
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 weppy_mvc_demo/cli.py
for cli commands.
py.test -v -s --cov-report term-missing --cov=weppy_mvc_demo -r w tests
MIT © mijdavis2