tornado-demo
Project Introduction
This project is a http server demo based on tornado.
Project Compile and build
buildout
is recommended to build this project.
To use buildout, try to run install it by running pip install zc.buildout
.
Build
Change to project path, and simply run buildout
, then output:
Develop: '/home/ezio/Projects/Python/tornado-demo/.'
Uninstalling application.
Unused options for buildout: 'include-site-packages'.
Installing application.
Generated script '/home/ezio/Projects/Python/tornado-demo/bin/server-api'.
Generated script '/home/ezio/Projects/Python/tornado-demo/bin/ipython'.
Generated script '/home/ezio/Projects/Python/tornado-demo/bin/ipython3'.
Generated interpreter '/home/ezio/Projects/Python/tornado-demo/bin/python'.
After this, directory eggs and develop-eggs is created.
Then running bin/server-api
will start the server.
Virtualenv python configuration
It is recommended to use virtualenv and virtualenvwrapper to manage python env
in your local machine.
tornado-demo
Project Introduction
This project is a http server demo based on tornado.
Project Compile and build
buildout
is recommended to build this project.To use buildout, try to run install it by running
pip install zc.buildout
.Build
Change to project path, and simply run
buildout
, then output:After this, directory eggs and develop-eggs is created. Then running
bin/server-api
will start the server.Virtualenv python configuration
It is recommended to use virtualenv and virtualenvwrapper to manage python env in your local machine.