Debian
Ref #32 (closed)
I've chosen to use dh_virtualenv, which allows to package all the deps like in a virtualenv, Python included. This sounds the nicer method, specifically because doing so we can add more dependencies even if they are not already Debian packaged.
This PR includes:
- debian files
- a service init script (ideasbox.init)
- a /etc/default/ideasbox file (ideasbox.default)
- an nginx VHost (nginx/ideasbox)
Also, I've chosen to move all the applications inside ideasbox
namespace, to avoid import clash in the future (i.e. not to have "search" or "blog" as first level module). This create a bit of noice in the diff of the PR sadly.
The most important things that need to be reviewed are:
- the debian package files (control, postinst...)
- the service init file (ideasbox.init)
I need to solve one last thing (at least): there is no user created on the installation, and we need one at first install (but only first install).