Skip to content

Jay54520/tornado-structure

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status Coverage Status

tornado-structure

Python tornado project structure

Create Virtualenv and Install requirements

  • Create virtualenv: python3 -m venv env
  • Activate virtualenv: source env/bin/activate
  • Install requirements: pip install requirements.txt

Run sever

python app.py

Set port using command line:

python app.py --port=8000

Enable DEBUG by set environment variable:

export DEBUG=1

Run tests

python -m unittest

Run scripts

python -m sample.scripts.hello

Reference

  1. Repository Structure and Python
  2. Django Project Structure

About

Python tornado project structure

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages