2013-02-12 10:46:25 +00:00
|
|
|
videopdf - share pdfs with video overlays
|
2013-02-12 07:49:16 +00:00
|
|
|
|
|
|
|
Get:
|
|
|
|
cd /srv
|
2013-02-12 10:46:25 +00:00
|
|
|
bzr branch http://code.0x2620.org/videopdf
|
|
|
|
cd videopdf
|
2013-02-12 07:49:16 +00:00
|
|
|
virtualenv --system-site-packages .
|
|
|
|
. bin/activate
|
|
|
|
pip install -r requirements.txt
|
|
|
|
|
|
|
|
Develop:
|
|
|
|
|
2013-02-12 10:46:25 +00:00
|
|
|
cd /srv/videopdf
|
2013-02-12 15:19:25 +00:00
|
|
|
./manage.py syncdb
|
2013-02-12 07:49:16 +00:00
|
|
|
./manage.py runserver
|
|
|
|
|
|
|
|
Deploy:
|
2013-02-12 15:19:25 +00:00
|
|
|
# create /srv/videopdf/videopdf/local_settings.py with your database settings
|
|
|
|
# create /etc/apache2/sites-availavle/videopdf.conf (use etc/apache2/videopdf.conf as template)
|
|
|
|
# create /etc/init/videopdf.conf (ues etc/init/videopdf.conf as template)
|
2013-02-12 07:49:16 +00:00
|
|
|
|
2013-02-12 15:19:25 +00:00
|
|
|
a2ensite videopdf
|
2013-02-12 10:46:25 +00:00
|
|
|
service videopdf start
|
2013-02-12 15:19:25 +00:00
|
|
|
service apache2 reload
|