Skip to main content

tornado web app generator

Project description

A simple tornado web app generator, very simple, very clean. Just generate your app, and never touch it again.

INSTALL

install from pypi:

pip install twapp

install from source:

git clone git@github.com:liujinliu/twapp.git
cd twapp
make install
make uninstall ---UNDEPLOY METHOD

USEAGE

(twapp)$twapp-make --help
--app                            app name
--prefix                         generate twapp files at [PREFIX] (default
                                 ~/workspace)

An example of generate a project:

$ twapp-make --app=foo --prefix=mywork
$ cd mywork/foo
$ make build
$ pip install dist/foo-0.0.1-py2-none-any.whl
$ foo-start --help
  --base-dir                       put the config path here (default .)
  --debug                          debug option (default False)
  --port                           app listen port (default 8888)
$ foo-start
$ curl http://localhost:8888/ping
foo works well.

Project details


Release history Release notifications

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
twapp-0.0.3-py2-none-any.whl (8.4 kB) Copy SHA256 hash SHA256 Wheel 2.7 Jan 26, 2017

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page