Create a deployment scheme that works for our test server

Registered by Mathias Bøhn Grytemark

Create a deployment scheme that works for our test server

* Apache2 with mod_wsgi
* MySQL (or Postgres? We already got MySQL set up...)
* virtualenv

#####
* Deployment lives in /opt/lancms2/ (deployment/)
* Symlinks local settings from /opt/lancms2/LOCAL_SETTINGS.py if it exists
* Symlinks sqlite file from /opt/lancms2/LANCMS2.sql if it exists
* Uses some sudoers magic to set permissions on file system, copy configuration to apache2 sites-available, a2ensite and restart apache2
* There is some magic that you have to read the fabfile to understand/reuse
* There is also some magic that I did in the included apache2-wsgi-virtualhost.conf. It points to an environmental variable that I set in /etc/apache2/envvars.

Blueprint information

Status:
Complete
Approver:
None
Priority:
Medium
Drafter:
Mathias Bøhn Grytemark
Direction:
Approved
Assignee:
Mathias Bøhn Grytemark
Definition:
Approved
Series goal:
Accepted for lancms2
Implementation:
Informational Informational
Milestone target:
None
Started by
Mathias Bøhn Grytemark
Completed by
Mathias Bøhn Grytemark

Related branches

Sprints

Whiteboard

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.