MVC Web Application Framework with Tornado, Python 2 and 3
To install the package run:
pip install dp-tornado
Virtualenv:
$ pip install virtualenv
$ virtualenv ./venv
$ . ./venv/bin/activate
Install dp-tornado:
$ pip install dp-tornado
Startup:
$ dp4p init app_dir
$ dp4p run app_dir
or:
$ dp4p init --path app_dir
$ dp4p run --path app_dir
or:
$ mkdir app_dir
$ cd app_dir
$ dp4p init
$ dp4p run
Run with Docker (hub.docker)
Find out more information about dp4p docker, Here.
$ docker pull why2pac/dp4p:latest-py34 # py27, py34, py35, pypy27
$ docker run --name "dp4p-example" -d -p 8080:52848 -v "$(pwd)/app_dir:/data/app" why2pac/dp4p:latest-py34