]> git.parisson.com Git - timeside.git/commitdiff
fix db, add netcat
authorGuillaume Pellerin <yomguy@parisson.com>
Thu, 19 Mar 2015 11:44:42 +0000 (12:44 +0100)
committerGuillaume Pellerin <yomguy@parisson.com>
Thu, 19 Mar 2015 11:44:42 +0000 (12:44 +0100)
Dockerfile
examples/deploy/start_app.sh
examples/sandbox/settings.py

index 9b76fd8920a4f5b0e3481ec35bd10822688d535d..79ebebbd0472390eeae494025060c8c980850dc2 100644 (file)
@@ -22,9 +22,9 @@ RUN echo 'deb http://http.debian.net/debian wheezy-backports main contrib non-fr
     echo 'deb http://debian.parisson.com/debian/ wheezy main' > /etc/apt/sources.list.d/parisson.list && \
     apt-get update && \
     apt-get -y --force-yes -t wheezy-backports dist-upgrade  && \
-    apt-get install -y --force-yes python-gst0.10 gstreamer0.10-plugins-good gstreamer0.10-gnonlin gstreamer0.10-plugins-ugly gstreamer0.10-plugins-bad gstreamer0.10-alsa vamp-examples libmysqlclient-dev && \
+    apt-get install -y --force-yes python-gst0.10 gstreamer0.10-plugins-good gstreamer0.10-gnonlin gstreamer0.10-plugins-ugly gstreamer0.10-plugins-bad gstreamer0.10-alsa vamp-examples && \
     apt-get install -y --force-yes -t wheezy-backports python-yaafe && \
-    apt-get install -y --force-yes wget bzip2 build-essential && \
+    apt-get install -y --force-yes wget bzip2 build-essential netcat libmysqlclient-dev && \
     apt-get clean
 
 # Install conda in /opt/miniconda
index 94ff7c1397a215da13d35050dc8a80949a46ce5a..3b6528be7446216b7d86e243cc7d78a3a85e9520 100644 (file)
@@ -2,7 +2,7 @@
 
 # paths
 app='/opt/TimeSide/'
-static=$app'timeside/static/'
+static=$app'timeside/player/static/'
 sandbox='/home/sandbox/'
 manage=$sandbox'manage.py'
 wsgi=$sandbox'wsgi.py'
index e3f784c71d8dfb4b5aa69a5b2cba703fa7e8ba2c..f53c16aaedcde7e87738aaeb0c4c5deffa9ec9ce 100644 (file)
@@ -27,7 +27,7 @@ DATABASES = {
         'ENGINE': 'django.db.backends.mysql',  # Add 'postgresql_psycopg2', 'mysql', 'sqlite3' or 'oracle'.
         'USER': 'root',      # Not used with sqlite3.
         'PASSWORD': 'mysecretpassword',  # Not used with sqlite3.
-        'NAME': 'timeside',
+        'NAME': 'sandbox',
         'HOST': 'db',      # Set to empty string for localhost. Not used with sqlite3.
         'PORT': '3306',      # Set to empty string for default. Not used with sqlite3.
     }
@@ -179,7 +179,6 @@ LOGGING = {
 REST_FRAMEWORK = {
 }
 
-
 # replace rabbitmq by localhost if you start your app outside docker-compose
 BROKER_URL = 'amqp://guest:guest@rabbitmq//'