diff --git a/docker-compose.yml b/docker-compose.yml index 24caa94..1f820af 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -67,11 +67,12 @@ services: environment: - DJANGO_ENV=docker - DJANGO_ENV_PATH=/home/sml-app/install/config/env - - DJANGO_DEBUGGER=True + - DEBUG=True - PORT_PTVSD=8005 - #command: python manage.py runserver 0.0.0.0:8000 --noreload - # --workers 4 - command: gunicorn --bind 0.0.0.0:8000 --timeout 3600 --max-requests 250 --reload server.wsgi:application + command: python manage.py runserver 0.0.0.0:8000 --noreload + # --workers 4 + # for gunicorn TODO need additionally serve static files + # command: gunicorn --bind 0.0.0.0:8000 --timeout 3600 --max-requests 250 --reload server.wsgi:application ports: - "8000:8000" depends_on: @@ -99,7 +100,7 @@ services: target: /var/run/docker.sock environment: - DJANGO_ENV=docker - - DJANGO_DEBUGGER=True + - DEBUG=True - PORT_PTVSD=6902 - CELERY_RDB_PORT=6900 - CELERY_RDB_HOST=0.0.0.0 diff --git a/src/server/datamanager/migrations/0004_lock_schema.py b/src/server/datamanager/migrations/0004_lock_schema.py new file mode 100644 index 0000000..15bc0f1 --- /dev/null +++ b/src/server/datamanager/migrations/0004_lock_schema.py @@ -0,0 +1,35 @@ +""" +Copyright 2017-2025 SensiML Corporation + +This file is part of SensiML™ Piccolo AI™. + +SensiML Piccolo AI is free software: you can redistribute it and/or +modify it under the terms of the GNU Affero General Public License +as published by the Free Software Foundation, either version 3 of +the License, or (at your option) any later version. + +SensiML Piccolo AI is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Affero General Public License for more details. + +You should have received a copy of the GNU Affero General Public +License along with SensiML Piccolo AI. If not, see . +""" + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ("datamanager", "0003_add_crosstab_tablefunc"), + ] + + operations = [ + migrations.AddField( + model_name="project", + name="lock_schema", + field=models.BooleanField(default=False), + ), + ] diff --git a/src/server/datamanager/migrations/0005_lock_schema.py b/src/server/datamanager/migrations/0005_lock_schema.py deleted file mode 100644 index d06204d..0000000 --- a/src/server/datamanager/migrations/0005_lock_schema.py +++ /dev/null @@ -1,18 +0,0 @@ -# Generated by Django 3.2.12 on 2024-11-08 04:55 - -from django.db import migrations, models - - -class Migration(migrations.Migration): - - dependencies = [ - ("datamanager", "0004_label_info"), - ] - - operations = [ - migrations.AddField( - model_name="project", - name="lock_schema", - field=models.BooleanField(default=False), - ), - ]