Manage multiple lighttpd and Django or Flask websites on a single machine.
Project description
# simple-site-manager
This creates configuration files for lighttpd and django fcgi, based on a simple list of sites.
Templates are used for the output files so they can easily be modified and customised for your own sites.
## Example site list
```yaml
site1:
domain_name: example.com
# optional arguments
project_root_dir: /opt/django/site1/,
django_root_dir: /opt/django/site1/site1/,
fcgi_path: /opt/django/site1/site1/fcgi.py,
uploaded_dir: /opt/static/uploaded_site1/,
static_dir: /opt/static/site1/,
www_uploaded_path: /uploaded/,
www_static_path: /m/,
virtual_env_dir: /opt/virtualenvs/env-site1/,
settings_module: settings
max_procs: 3
```
# TODO
- More fine tuning of site performance settings.
This creates configuration files for lighttpd and django fcgi, based on a simple list of sites.
Templates are used for the output files so they can easily be modified and customised for your own sites.
## Example site list
```yaml
site1:
domain_name: example.com
# optional arguments
project_root_dir: /opt/django/site1/,
django_root_dir: /opt/django/site1/site1/,
fcgi_path: /opt/django/site1/site1/fcgi.py,
uploaded_dir: /opt/static/uploaded_site1/,
static_dir: /opt/static/site1/,
www_uploaded_path: /uploaded/,
www_static_path: /m/,
virtual_env_dir: /opt/virtualenvs/env-site1/,
settings_module: settings
max_procs: 3
```
# TODO
- More fine tuning of site performance settings.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Close
Hashes for simple-site-manager-0.1.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7d7070957d498202d8b7d3e15fa317f659773465befaa858da635f131d63d0b1 |
|
MD5 | 194bd232f1b25d7fe0c3ce5ee5ff3837 |
|
BLAKE2b-256 | 9a41a0b289bde883d4e2cf0baedc69eea7c0e5d22dc46eb25b5b8f316bf140ff |
Close
Hashes for simple-site-manager-0.1.2.macosx-10.10-x86_64.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4455eeffad5cf396792fc47e69b6638e563159e2fd4a3b093244933bbb30b15e |
|
MD5 | 1d1fd96dd4c137062aec18173ca6305e |
|
BLAKE2b-256 | 116c9f0ff2f12f579daef653043b719165268efa91740e2615cf651f30ec7193 |