]> git.parisson.com Git - timeside.git/commitdiff
Docker-compose: update start_app.sh to be able to launch the sandbox from ts-diadems...
authorThomas Fillon <thomas@parisson.com>
Thu, 12 Mar 2015 17:32:02 +0000 (18:32 +0100)
committerThomas Fillon <thomas@parisson.com>
Thu, 12 Mar 2015 17:32:02 +0000 (18:32 +0100)
examples/deploy/start_app.sh

index f977fd232cd4fc3987942189c78aaad4909163a9..79c34f820d2fc5a3937a2fbc283cf72a36e1495e 100644 (file)
@@ -7,6 +7,10 @@ manage=$sandbox_dir'manage.py'
 wsgi=$sandbox_dir'wsgi.py'
 app_static_dir=$app_dir'timeside/player/static/'
 
+# Copy Sandbox in /home/timeside
+#  this is not needed for TimeSide but for Timeside-diadems
+cp -uR /opt/TimeSide/examples/sandbox/* /home/timeside/
+
 # django init
 python $manage syncdb --noinput
 python $manage migrate --noinput