From e3285bef364a675f97b9e4f08c47a45405399561 Mon Sep 17 00:00:00 2001 From: JocelynDelalande Date: Mon, 23 Oct 2017 18:05:50 +0200 Subject: Enhance install process by generating config files from templates (#275) * Add a command to generate configuration examples Config files are generated from templates (which remplace previous example files). - solve the issue of hard-to-explain configuration examples - ease pkg path seeking (avoid it, actually) - add working defaults for sqlite and unix socket paths (instead of /replace/me/path/example) - move settings comments from default_settings.py to ihatemoney.cfg.j2, as it is the one that will be facing user. * Use generate-config command in install doc Also follow the new working defaults of templates for socket and db path. * Fix doc settings table On the long term, plaintext tables might destroy humanity. * Mention templates dir URL in documentation As requested by @almet --- conf/apache-vhost.conf | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 conf/apache-vhost.conf (limited to 'conf/apache-vhost.conf') diff --git a/conf/apache-vhost.conf b/conf/apache-vhost.conf deleted file mode 100644 index 1a84e7f..0000000 --- a/conf/apache-vhost.conf +++ /dev/null @@ -1,18 +0,0 @@ - - ServerAdmin admin@example.com - ServerName ihatemoney.example.com - # Uncomment the python-home option if you use a virtualenv - WSGIDaemonProcess ihatemoney user=www-data group=www-data threads=5 python-path=/path/to/ihatemoney/ihatemoney # python-home=/path/to/your/venv - WSGIScriptAlias / /path/to/ihatemoney/ihatemoney/wsgi.py - ErrorLog /var/log/apache2/ihatemoney.example.com_error.log - CustomLog /var/log/apache2/ihatemoney.example.com_access.log combined - - WSGIProcessGroup ihatemoney - WSGIApplicationGroup %{GLOBAL} - Order deny,allow - Allow from all - -# Alias value may be some messy path, within python libs. -# You may want to use "find $VIRTUAL_ENV -path */ihatemoney*/static" to find it. -Alias /static/ /path/to/ihatemoney/ihatemoney/static/ - -- cgit v1.1