Skip to main content

torweb

Project description

# torweb

#### torweb is a second development based application framework tornado

  1. Install

Example for virtualenv:

$ cd ~ $ mkdir env $ cd env $ virtualenv torweb $ ln -s ~/env/torweb/bin/python /usr/bin/python-torweb $ ln -s ~/env/torweb/bin/pip /usr/bin/pip-torweb $ pip-torweb install torweb $ ln -s ~/env/torweb/lib/python2.7/site-packages/torweb/start_app.py /usr/bin/torweb_startapp.py $ sudo chmod a+x /usr/bin/torweb_startapp.py

  1. Getting started

Example for virtualenv torweb:

Before start app of torweb, you’d have to install mysql, and set mysql root user and password.

And then, edit “/usr/bin/torweb_startapp.py” below to your username and password:

MYSQL_ROOT_USER = “root” MYSQL_ROOT_PASS = “1”

Next, do follows to start you first application named torweb.

$ cd ~ $ mkdir projects $ cd projects $ torweb_startapp.py test $ cd test $ python-torweb dev_server.py [2013-10-25 10:53:18] * app server is running on http://0.0.0.0:8888 [2013-10-25 10:53:18] * restart with reload

if you have got above tips, your first application has been built.

Project details


Download files

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

Source Distribution

torweb-for-3-0.1.10.tar.gz (92.7 kB view details)

Uploaded Source

File details

Details for the file torweb-for-3-0.1.10.tar.gz.

File metadata

  • Download URL: torweb-for-3-0.1.10.tar.gz
  • Upload date:
  • Size: 92.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for torweb-for-3-0.1.10.tar.gz
Algorithm Hash digest
SHA256 4344590a0f140975341fbbdabfad3419a90ca5d9de2ae1df84e90131ed4c8f65
MD5 04af847e60cc6b5cf87a7e0fe261179e
BLAKE2b-256 a19b82a8dc90dc9052be192c6210276bce884ca11700514f4dbee2beba7209b5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page