RedServ is a web framework built on top of Cherrypy.
RedServ's main purpose is to provide an Apache2 + PHP like experience but with just pure Python (or with php and python). The main web server file is very small and doesn't require as much work to get going. The Python scripting will be documented but there will be examples provided for how everything works, for now have fun playing with it.
- Python 2.7+
Install Python 2.7 or higher
Install requirements (pip install -r ./requirements.txt)
git clone https://bitbucket.org/Red_M/redserv.git
Quit ./webserver.py, configure the settings via ./config
Drop web site files into ./pages
- Add SSL certs into ./certs and edit ./config to turn on HTTPS and to make sure the certs are pathed to properly as set in ./config
PHP scripting at the current time is very limited, do not expect full apache support for PHP right now.