Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
allgo
allgo
Commits
b2144388
Commit
b2144388
authored
Jan 28, 2019
by
LETORT Sebastien
Browse files
Test update
parent
86e572be
Changes
5
Hide whitespace changes
Inline
Side-by-side
django/Dockerfile
View file @
b2144388
...
...
@@ -10,9 +10,10 @@ RUN apt-getq update && apt-getq install \
python-mysqldb python3-crypto gunicorn3 python3-redis python-mysqldb
\
python3-crypto python3-natsort python3-aiohttp python3-aioredis supervisor
\
python3-ipy python3-django-taggit python3-iso8601 python3-robot-detection
\
python3-sqlparse
python3-sqlparse
python3-pydotplus
COPY
requirements.txt /tmp/
# COPY requirements.txt /tmp/
COPY
requirements_dev.txt /tmp/requirements.txt
RUN
cd
/tmp
&&
pip3
install
-r
requirements.txt
&&
rm
requirements.txt
COPY
. /opt/allgo
...
...
django/config/settings.py
View file @
b2144388
...
...
@@ -115,6 +115,7 @@ THIRD_PARTY_APPS = [
'allauth.socialaccount'
,
'allauth.socialaccount.providers.gitlab'
,
'taggit'
,
'django_extensions'
,
]
LOCAL_APPS
=
[
'main'
,
...
...
django/docs/generate_models_png.sh
0 → 100644
View file @
b2144388
#! /bin/bash
# TODO: the command should be placed in the Makefile or an official doc.
# It should be ran in the django container.
# cf https://django-extensions.readthedocs.io/en/latest/graph_models.html
python3 ./manage.py graph_models
--all-applications
--group-models
--output
allgo_model.png
django/docs/models.png
0 → 100644
View file @
b2144388
626 KB
django/requirements_dev.txt
View file @
b2144388
...
...
@@ -9,3 +9,5 @@ pytest==3.4.2
click==6.7
pypandoc==1.4
beautifulsoup4==4.6.0
python-jose==2.0.2
django-extensions
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment