Skip to content

Commit

Permalink
compress static files
Browse files Browse the repository at this point in the history
  • Loading branch information
chr-peters committed Mar 17, 2021
1 parent c97efca commit 735b616
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,5 @@ htmlcov/
__pycache__/
*.egg-info
.tox/
*.br
*.gz
1 change: 1 addition & 0 deletions Procfile
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
release: python -m whitenoise.compress ./strong_but_simple_passwords/static/
web: gunicorn "strong_but_simple_passwords:create_app()" --workers 2 --log-file -
2 changes: 2 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
#
# pip-compile
#
brotli==1.0.9
# via strong-but-simple-passwords (setup.py)
click==7.1.2
# via flask
flask==1.1.2
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@
version="0.1.0",
packages=find_packages(),
include_package_data=True,
install_requires=["flask", "whitenoise", "gunicorn"],
install_requires=["flask", "whitenoise", "brotli", "gunicorn"],
)

0 comments on commit 735b616

Please sign in to comment.