run gpg -a --export E3298399DF14BB7C | apt-key add -
run gpg --keyserver pgpkeys.mit.edu --recv-key 07DC563D1F41B907
run gpg -a --export 07DC563D1F41B907 | apt-key add -
-add ./deploy/apt-app.list /etc/apt/sources.list.d/
+add ./examples/deploy/apt-app.list /etc/apt/sources.list.d/
run apt-get update
run apt-get install -y --force-yes apt-utils
run apt-get -y --force-yes -t wheezy-backports dist-upgrade
# setup all the configfiles
run echo "daemon off;" >> /etc/nginx/nginx.conf
run rm /etc/nginx/sites-enabled/default
-run ln -s /opt/TimeSide/deploy/nginx-app.conf /etc/nginx/sites-enabled/
-run ln -s /opt/TimeSide/deploy/supervisor-app.conf /etc/supervisor/conf.d/
+run ln -s /opt/TimeSide/examples/deploy/nginx-app.conf /etc/nginx/sites-enabled/
+run ln -s /opt/TimeSide/examples/deploy/supervisor-app.conf /etc/supervisor/conf.d/
# install new deps from the local repo
run pip install -e /opt/TimeSide
+++ /dev/null
-deb http://ftp.debian.org/debian/ wheezy-backports main contrib non-free
-deb-src http://ftp.debian.org/debian/ wheezy-backports main contrib non-free
-
-deb http://security.debian.org/ wheezy/updates main
-deb-src http://security.debian.org/ wheezy/updates main
-
-deb http://debian.parisson.com/debian/ wheezy main
-deb-src http://debian.parisson.com/debian wheezy main
-
-deb ftp://ftp.igh.cnrs.fr/pub/debian-multimedia stable main
\ No newline at end of file
+++ /dev/null
-# mysite_nginx.conf
-
-# the upstream component nginx needs to connect to
-upstream django {
- server unix:/opt/TimeSide/examples/sandbox/app.sock; # for a file socket
- # server 127.0.0.1:8001; # for a web port socket (we'll use this first)
- }
-
-# configuration of the server
-server {
- # the port your site will be served on, default_server indicates that this server block
- # is the block to use if no blocks match the server_name
- listen 80 default_server;
-
- # the domain name it will serve for
- server_name .example.com; # substitute your machine's IP address or FQDN
- charset utf-8;
-
- # max upload size
- client_max_body_size 75M; # adjust to taste
-
- # Django media
- location /media {
- alias /opt/TimeSide/examples/sandbox/media; # your Django project's media files - amend as required
- }
-
- # Django static
- location /static {
- alias /var/www/static; # your Django project's static files - amend as required
- }
-
- # Finally, send all non-media requests to the Django server.
- location / {
- uwsgi_pass django;
- include /etc/nginx/uwsgi_params; # the uwsgi_params file you installed
- }
- }
+++ /dev/null
-[program:app-uwsgi]
-command = /usr/local/bin/uwsgi --ini /opt/TimeSide/examples/sandbox/uwsgi.ini
-
-[program:nginx-app]
-command = /usr/sbin/nginx
-
--- /dev/null
+deb http://ftp.debian.org/debian/ wheezy-backports main contrib non-free
+deb-src http://ftp.debian.org/debian/ wheezy-backports main contrib non-free
+
+deb http://security.debian.org/ wheezy/updates main
+deb-src http://security.debian.org/ wheezy/updates main
+
+deb http://debian.parisson.com/debian/ wheezy main
+deb-src http://debian.parisson.com/debian wheezy main
+
+deb ftp://ftp.igh.cnrs.fr/pub/debian-multimedia stable main
\ No newline at end of file
--- /dev/null
+# mysite_nginx.conf
+
+# the upstream component nginx needs to connect to
+upstream django {
+ server unix:/opt/TimeSide/examples/sandbox/app.sock; # for a file socket
+ # server 127.0.0.1:8001; # for a web port socket (we'll use this first)
+ }
+
+# configuration of the server
+server {
+ # the port your site will be served on, default_server indicates that this server block
+ # is the block to use if no blocks match the server_name
+ listen 80 default_server;
+
+ # the domain name it will serve for
+ server_name .example.com; # substitute your machine's IP address or FQDN
+ charset utf-8;
+
+ # max upload size
+ client_max_body_size 75M; # adjust to taste
+
+ # Django media
+ location /media {
+ alias /opt/TimeSide/examples/sandbox/media; # your Django project's media files - amend as required
+ }
+
+ # Django static
+ location /static {
+ alias /var/www/static; # your Django project's static files - amend as required
+ }
+
+ # Finally, send all non-media requests to the Django server.
+ location / {
+ uwsgi_pass django;
+ include /etc/nginx/uwsgi_params; # the uwsgi_params file you installed
+ }
+ }
--- /dev/null
+[program:app-uwsgi]
+command = /usr/local/bin/uwsgi --ini /opt/TimeSide/examples/sandbox/uwsgi.ini
+
+[program:nginx-app]
+command = /usr/sbin/nginx
+