dancrew32 / slither

Simple Python WSGI app/view rendering setup

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Slither

Linux Setup

sudo aptitude install libapache2-mod-wsgi

Python Setup

# install pip if you need it
curl https://raw.github.com/pypa/pip/master/contrib/get-pip.py | python 
# lets us use mustache templates
pip install pystache

Apache VirtualHost Setup

Learn more about WSGI setup.

WSGIDaemonProcess site.com threads=1 # remove in prod
WSGIProcessGroup site.com # remove in prod
<VirtualHost *:80>
	ServerName site.com
	WSGIScriptAlias / /var/host/site/wsgi.py
</VirtualHost>

About

Simple Python WSGI app/view rendering setup


Languages

Language:Python 100.0%