Skip to content

Commit

Permalink
Separate out production requirements..
Browse files Browse the repository at this point in the history
  • Loading branch information
jessamynsmith committed Jan 25, 2023
1 parent 839ffa7 commit 2e034c9
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
7 changes: 0 additions & 7 deletions requirements/common.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,7 @@ django-settings-context-processor==0.2
django-timezone-field==2.0
djangorestframework==3.4.6
funcsigs==1.0.2
gevent==22.10.2
greenlet==2.0.1
gunicorn==20.1.0
mimeparse==0.1.3
newrelic==2.54.0.41
oauthlib==1.1.2
psycopg2-binary>=2.8,<2.9
python-dotenv
Expand All @@ -29,6 +25,3 @@ pytz==2016.10
requests==2.20.0
requests-oauthlib==0.6.2
six==1.10.0
whitenoise==3.2.2
zope.event==4.6
zope.interface==5.5.2
8 changes: 8 additions & 0 deletions requirements/production.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
-r common.txt
gevent==22.10.2
greenlet==2.0.1
gunicorn==20.1.0
newrelic==2.54.0.41
whitenoise==3.2.2
zope.event==4.6
zope.interface==5.5.2
2 changes: 1 addition & 1 deletion scripts/deploy_on_digital_ocean.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ else
fi

. venv/bin/activate
pip install -r requirements.txt
pip install -r requirements/production.txt
npm install
heroku run python manage.py collectstatic --noinput
heroku run python manage.py migrate --noinput --app eggtimer

0 comments on commit 2e034c9

Please sign in to comment.