Skip to content
/ spawn Public

a spawn-fcgi wrapper for handling web applications with ease

License

Notifications You must be signed in to change notification settings

hgeg/spawn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

spawn

a spawn-fcgi wrapper that lets you smoothly handle your python-wsgi applications.

installation

install spawn-fcgi package first. then add the file named spawn to your path or make a symbolic link to your bin directory.

how to use

go to directory of your wsgi application and run the following command to initialize spawn:

spawn init -f <filepath> -p <port> 

This will create a config file named .spawn at current directory. Then, start your application by typing spawn start on this directory, or use -d <path> option. Your app must be an executable in order to be spawned.

Here is the list of all the commands with full options:

  • init -f <filepath> -p <port> [--onstart <path>] [--onstop <path>]: Create spawn configuration for the process.
  • start [-d <path>]: Start the process.
  • stop [-d <path>]: Stop the process.
  • reload [-d <path>]: Restart the process.
  • status [-d <path>]: Show spawn config.
  • clean: Remove spawn config.

About

a spawn-fcgi wrapper for handling web applications with ease

Resources

License

Stars

Watchers

Forks

Packages

No packages published