]> git.parisson.com Git - telemeta.git/commitdiff
Use port 9100 for dev, fix 1.7 upgrade script
authorGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Sun, 13 May 2018 07:42:37 +0000 (09:42 +0200)
committerGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Sun, 13 May 2018 07:42:37 +0000 (09:42 +0200)
app/scripts/upgrade_from_1.6_to_1.7.sh
env/dev.yml
telemeta/views/item.py

index 30d73eed65fd25aeced8bff42f6260bbb9908987..af74807e53ca4cfe619d9deda1fd73015b7b8993 100755 (executable)
@@ -1,5 +1,6 @@
 #!/bin/bash
 
+python manage.py migrate
 python manage.py migrate contenttypes --fake-initial
 python manage.py migrate --fake-initial
 python manage.py migrate thumbnail --fake-initial
index 11c857e3aec3e25b300da514b1c7b92d42d9a1d7..f5e68cc388bdf59cb761276daee1dcda5f1617bc 100644 (file)
@@ -28,7 +28,7 @@ app:
     - env/debug.env
   command: /bin/bash scripts/app.sh --runserver
   ports:
-    - 9000:8000
+    - 9100:8000
 
 worker:
   image: parisson/telemeta:latest
index dd4cf2dffe084c8c55ca3673987d248eb9a0450f..6a94f5d085fc1abb8cab95e0e7d27b601d24d45f 100644 (file)
@@ -289,7 +289,7 @@ class ItemView(ItemBaseMixin):
         if 'waveform_centroid' in grapher_id and self.cache_data.exists(old_image_file):
             image_file = old_image_file
 
-        path = self.cache_data.dir + os.sep + image_file    
+        path = self.cache_data.dir + os.sep + image_file
         if not self.cache_data.exists(image_file):
             source, _ = item.get_source()
             if source: