-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
166409937-task(heroku): Host app on heroku
- Add Procfile [Start #166409937]
- Loading branch information
Showing
4 changed files
with
117 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
web: gunicorn wger.wsgi | ||
worker: python setup.py build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,60 @@ | ||
# | ||
# Requirements for wger for production | ||
# | ||
|
||
Django | ||
django-recaptcha | ||
reportlab | ||
django_mobile | ||
django-formtools | ||
bleach | ||
python-mimeparse | ||
pillow | ||
easy-thumbnails | ||
django_compressor | ||
icalendar | ||
django-bootstrap-breadcrumbs | ||
sphinx | ||
django-sortedm2m | ||
django-bower | ||
invoke | ||
requests | ||
|
||
# REST API | ||
djangorestframework | ||
django-filter | ||
django-tastypie | ||
django-cors-headers | ||
|
||
# Python3 compatibility | ||
six | ||
alabaster==0.7.12 | ||
autopep8==1.4.4 | ||
Babel==2.7.0 | ||
bleach==3.1.0 | ||
captcha==0.3 | ||
certifi==2019.3.9 | ||
chardet==3.0.4 | ||
coverage==4.5.3 | ||
Django==2.2.1 | ||
django-appconf==1.0.3 | ||
django-bootstrap-breadcrumbs==0.9.1 | ||
django-bower==5.2.0 | ||
django-compressor==2.2 | ||
django-cors-headers==3.0.2 | ||
django-debug-toolbar==1.11 | ||
django-filter==2.1.0 | ||
django-formtools==2.1 | ||
django-mobile==0.7.0 | ||
django-recaptcha==2.0.4 | ||
django-sortedm2m==1.5.0 | ||
django-tastypie==0.14.2 | ||
djangorestframework==3.9.4 | ||
docutils==0.14 | ||
easy-thumbnails==2.6 | ||
entrypoints==0.3 | ||
flake8==3.7.7 | ||
gunicorn==19.9.0 | ||
icalendar==4.0.3 | ||
idna==2.8 | ||
imagesize==1.1.0 | ||
invoke==1.2.0 | ||
Jinja2==2.10.1 | ||
MarkupSafe==1.1.1 | ||
mccabe==0.6.1 | ||
packaging==19.0 | ||
pep8==1.7.1 | ||
Pillow==6.0.0 | ||
pycodestyle==2.5.0 | ||
pyflakes==2.1.1 | ||
Pygments==2.4.2 | ||
pyparsing==2.4.0 | ||
python-dateutil==2.8.0 | ||
python-mimeparse==1.6.0 | ||
pytz==2019.1 | ||
rcssmin==1.0.6 | ||
reportlab==3.5.21 | ||
requests==2.22.0 | ||
rjsmin==1.0.12 | ||
six==1.12.0 | ||
snowballstemmer==1.2.1 | ||
Sphinx==2.0.1 | ||
sphinxcontrib-applehelp==1.0.1 | ||
sphinxcontrib-devhelp==1.0.1 | ||
sphinxcontrib-htmlhelp==1.0.2 | ||
sphinxcontrib-jsmath==1.0.1 | ||
sphinxcontrib-qthelp==1.0.2 | ||
sphinxcontrib-serializinghtml==1.1.3 | ||
sqlparse==0.3.0 | ||
urllib3==1.25.3 | ||
webencodings==0.5.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import subprocess | ||
import os | ||
|
||
rootdir = os.path.abspath(os.path.dirname(__file__)) | ||
settingsfile = os.path.join(rootdir, 'wger', 'settings.py') | ||
print('Settings file =========>', settingsfile) | ||
subprocess.run("invoke create-settings --settings-path {}".format(settingsfile), shell=True) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters