Skip to content

why2pac/dp-tornado

Repository files navigation

dp-tornado

Pypi Status Build Status Docs Requirements Status (Master) Requirements Status (Develop) Coverage Status

MVC Web Application Framework with Tornado, Python 2 and 3

To install the package run:

pip install dp-tornado

Environment Setup

Virtualenv:

$ pip install virtualenv
$ virtualenv ./venv
$ . ./venv/bin/activate

Install dp-tornado:

$ pip install dp-tornado

Run

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

Inspired by

David, Matthew and Max

About

MVC Web Application Framework with Tornado, Python 2 and 3

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •