Browse Source

database backend

feature-autodoc
Hugo Levy-Falk 6 years ago
parent
commit
ad881995f3
  1. 2
      .gitlab-ci.yml

2
.gitlab-ci.yml

@ -25,6 +25,8 @@ pages:
- python3 -m pip install -U sphinx - python3 -m pip install -U sphinx
- cp re2o/settings_local.example.py re2o/settings_local.py - cp re2o/settings_local.example.py re2o/settings_local.py
- sed -i 's/MY_EMAIL_PORT/25/g' re2o/settings_local.py - sed -i 's/MY_EMAIL_PORT/25/g' re2o/settings_local.py
- apt-get -y install python3-mysqldb default-mysql-client
- sed -i 's/db_engine/django.db.backends.mysql/g' re2o/settings_local.py
- sphinx-apidoc -o re2o/docs_utils/source/autodoc/ -f . ./*/migrations/* - sphinx-apidoc -o re2o/docs_utils/source/autodoc/ -f . ./*/migrations/*
- sphinx-build -b html docs_utils/source/ public - sphinx-build -b html docs_utils/source/ public
artifacts: artifacts:

Loading…
Cancel
Save