Commit 959b7ba7 authored by Michael R Lundquist's avatar Michael R Lundquist Committed by Zac Wood

101/mike/erd

parent 433ac673
......@@ -10,7 +10,7 @@ types:
before_script:
- apt-get update -qy
- apt-get install -y default-mysql-client default-libmysqlclient-dev python-mysqldb
- apt-get install -y default-mysql-client default-libmysqlclient-dev python-mysqldb graphviz
gdal-bin libproj-dev proj-data proj-bin binutils
- cd whats-open/
- pip install pipenv
......@@ -30,7 +30,14 @@ before_script:
- python manage.py migrate
- echo "from django.contrib.auth.models import User; User.objects.filter(username='$WOPEN_SUPERUSER$WOPEN_EMAIL_DOMAIN').delete(); User.objects.create_superuser('$WOPEN_SUPERUSER$WOPEN_EMAIL_DOMAIN', '$WOPEN_SUPERUSER', 'admin')" | python manage.py shell
- python3 manage.py loaddata --format json categoriesFixture locationFixture openTimeFixture scheduleFixture settingsFixture
- python manage.py graph_models --dot --group api > erd.dot
- dot -Tpng erd.dot > erd.png
whats-open-py3.7:
artifacts:
paths:
- whats-open/erd.png
expire_in: 1 week
image: library/python:3.7
type: test
script:
......
......@@ -25,6 +25,7 @@ docutils = "==0.13.1"
gunicorn = "*"
Django = "<2.1,>=2.0"
Markdown = "==2.6.10"
django-extensions = "*"
[requires]
python_version = "3.7"
......
This diff is collapsed.
......@@ -250,6 +250,7 @@ INSTALLED_APPS = (
# Apps specific for this project go here.
"api",
# Third party apps
"django_extensions",
"taggit",
"taggit_serializer",
"rest_framework",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment