Skip to content

Latest commit

 

History

History
25 lines (23 loc) · 1.76 KB

README.md

File metadata and controls

25 lines (23 loc) · 1.76 KB

DreamHost.Python.passanger

My DreamHost template for creating a new python sight using the passanger apache module.

Using this template with DreamHost

  1. Setup the subdomain in the DreamHost Control Panel
  1. SSH into the account to compleate the rest of the steps
  2. Checkout this repository into a directory matching the subdomain you are setting up
  3. Edit scripts/init_env.sh (lines 6 to end of file) to install the python modules you application will need
  4. Run the script scripts/init_env.sh to setup the environment and install the python modules.
  1. Test that everything works as it is checked out
  2. Remove the myAppModule directory. You will replace this with your own application
  3. Add in your own application module
  4. Edit passenger_wsgi.py
  1. Change line 49 to include your application module
  2. Change line 63 to reflect you application entrypoint
  3. Try out your application

Troubleshooting