Reference production.txt in local.txt for installing production requirements

This commit is contained in:
Jelmer Draaijer 2020-08-28 09:52:11 +02:00
parent 4cbdc21515
commit c39a60fa9d
2 changed files with 5 additions and 5 deletions

View File

@ -1,12 +1,8 @@
-r base.txt -r base.txt
-r production.txt
Werkzeug==1.0.1 # https://github.com/pallets/werkzeug Werkzeug==1.0.1 # https://github.com/pallets/werkzeug
ipdb==0.13.3 # https://github.com/gotcha/ipdb ipdb==0.13.3 # https://github.com/gotcha/ipdb
{%- if cookiecutter.use_docker == 'y' %}
psycopg2==2.8.5 --no-binary psycopg2 # https://github.com/psycopg/psycopg2
{%- else %}
psycopg2-binary==2.8.5 # https://github.com/psycopg/psycopg2
{%- endif %}
{%- if cookiecutter.use_async == 'y' %} {%- if cookiecutter.use_async == 'y' %}
watchgod==0.6 # https://github.com/samuelcolvin/watchgod watchgod==0.6 # https://github.com/samuelcolvin/watchgod
{%- endif %} {%- endif %}

View File

@ -3,7 +3,11 @@
-r base.txt -r base.txt
gunicorn==20.0.4 # https://github.com/benoitc/gunicorn gunicorn==20.0.4 # https://github.com/benoitc/gunicorn
{%- if cookiecutter.use_docker == 'y' %}
psycopg2==2.8.5 --no-binary psycopg2 # https://github.com/psycopg/psycopg2 psycopg2==2.8.5 --no-binary psycopg2 # https://github.com/psycopg/psycopg2
{%- else %}
psycopg2-binary==2.8.5 # https://github.com/psycopg/psycopg2
{%- endif %}
{%- if cookiecutter.use_whitenoise == 'n' %} {%- if cookiecutter.use_whitenoise == 'n' %}
Collectfast==2.2.0 # https://github.com/antonagestam/collectfast Collectfast==2.2.0 # https://github.com/antonagestam/collectfast
{%- endif %} {%- endif %}