A simple Django app to create server config
Project description
Django Server Config Generator
Django server config generator is a simple django extension which generates apache config by running a management command, It automatically detects document root, static root/url, media root/url, and also the path to the current running virtual environment.
Installation
$ pip install django-server-config-generator
Requirements
- Python3.6+
- Apache2.4
Usage
- Add server_config_generator in your installed app
- Run python manage.py generate_apache_config
- User will be prompted to enter the server name and make some confirmations
- Verify if <server_name>.conf is generated in the root folder, server_name is entered by the user in the previous step
- Enable site using this configuration and restart apache
Communication
- If you found a bug, open an issue.
- If you have a feature request, open an issue.
- If you want to contribute, submit a pull request.
Author
Afsal Salim, afsals@qburst.com
License
Django Server Config Generator is available under the MIT license. See the LICENSE file for more info.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for django-server-config-generator-0.5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | cc25c91150af5451634de3b8ae7c9221f0a8b77a2167633afa745a9596f5d4c5 |
|
MD5 | 548b25b43e741a253a10304c497f3b3a |
|
BLAKE2b-256 | 7c50bf10ff9402e352963b8e791b716c3b84c2c098c3c2f597fb220b4113231c |
Close
Hashes for django_server_config_generator-0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 832b5b2179f18e8af6c6985b44fefc6f94550ec525067ae2726843b392464831 |
|
MD5 | b2536d9f064e478851cb51be1fa470b3 |
|
BLAKE2b-256 | 8480789a5946ef21d3ce844dc3f5280aad9c7dab5a79598aad39b71062582dfa |