diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e05b555e39be11792f0229256e3550b9ba05a2a6..14afa3a36435e40ad3702d429b440bb93f65cac4 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -25,4 +25,4 @@ backend-tests: script: - flake8 - - cd src && ./manage.py test + - cd arkindex && ./manage.py test diff --git a/Dockerfile b/Dockerfile index c558c2b64c404063990962dd27d6c1dad761422c..d73ea78a7850824154e496b096fda99f09f2b7f0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -23,6 +23,6 @@ RUN wget --header "PRIVATE-TOKEN: $GITLAB_TOKEN" https://gitlab.com/arkindex/fro # Run through supervisor EXPOSE 80 -WORKDIR /backend/src -ENV PYTHONPATH "/backend/src" +WORKDIR /backend/arkindex +ENV PYTHONPATH "/backend/arkindex" CMD ["gunicorn", "--access-logfile=-", "--capture-output", "--bind=0.0.0.0:80", "--chdir=/backend", "arkindex.wsgi"] diff --git a/setup.cfg b/setup.cfg index a53fc4d736669a10767aa048fe8e8304dcca6d1f..f534ce1326b1600036299e1e1e07180bfae2fc3c 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,3 +1,3 @@ [flake8] max-line-length = 120 -exclude=.git,src/*/migrations/0001_initial.py +exclude=.git,arkindex/*/migrations/0001_initial.py