Skip to content

MrLYC/GSimpleHTTPServer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GSimpleHTTPServer

GSimpleHTTPServer is a tool provided a feature to run SimpleHTTPServer with gevent.

Getting Started

  1. Change you directory to project root.
  2. Make GSimpleHTTPServer virtualenv:
$ make dev-init
  1. Activate the GSimpleHTTPServer virtualenv:
$ source .dev/toggle
  1. Run ./demo/run_at_resources.py to serve under the directory ./demo/resources/
$ env PYTHONPATH=. ./demo/run_at_resources.py 9096
  1. Put your files under the directory ./demo/resources/

Use upstart script

  1. Open the upstart script under the directory ./demo/ and change the paths
$ vim ./demo/GSimpleHTTPServer.conf
  1. Copy the upstart script to /etc/init/
  2. Use start GSimpleHTTPServer to start and stop GSimpleHTTPServer to stop

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors