Skip to content

Commit

Permalink
Merge pull request #555 from open5e/469-clean-up-and-upgrade-dependen…
Browse files Browse the repository at this point in the history
…cies

469 clean up and upgrade dependencies
  • Loading branch information
augustjohnson authored Oct 5, 2024
2 parents b4f087f + fed6dc2 commit 944d813
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 5 deletions.
5 changes: 2 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,9 @@ WORKDIR /opt/services/open5e-api
# copy our project code

# install our dependencies
RUN pip install pipenv gunicorn
RUN pip install pipenv
COPY . /opt/services/open5e-api

RUN pipenv install
RUN pipenv install --deploy

# migrate the db, load content, and index it
RUN pipenv run python manage.py quicksetup
Expand Down
1 change: 1 addition & 0 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ django-cors-headers = "*"
newrelic = "*"
requests = "*"
whitenoise = "*"
gunicorn = "*"

[dev-packages]
pytest = "*"
Expand Down
19 changes: 18 additions & 1 deletion Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion server/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# See https://docs.djangoproject.com/en/2.1/howto/deployment/checklist/

# SECURITY WARNING: keep the secret key used in production secret!
assert "SECRET_KEY" in os.environ, "Set SECRET_KEY in your .env file!"
assert "SECRET_KEY" in os.environ, "Set SECRET_KEY in your .env or local OS!"
SECRET_KEY = os.environ["SECRET_KEY"]

# SECURITY WARNING: don't run with debug turned on in production!
Expand Down

0 comments on commit 944d813

Please sign in to comment.