-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
v4.4.0: 💼 Use celery for collection-update long background job (#11)
* Fix collections update request timeout: use Celery! * Refactor: rename config.py to constants.py * Update .env.example * Update .dockerignore * Update requirements.txt
- Loading branch information
Showing
17 changed files
with
842 additions
and
763 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 |
---|---|---|
@@ -1,12 +1,31 @@ | ||
# python compiled | ||
*.pyc | ||
__pycache__/ | ||
|
||
# ide stuff | ||
.idea | ||
.vscode | ||
|
||
# node modules | ||
node_modules/ | ||
|
||
# images | ||
*.png | ||
|
||
# py notebooks | ||
# notebooks | ||
*.ipynb | ||
|
||
# git / github stuff | ||
.git/ | ||
.github/ | ||
*.gitignore | ||
*.md | ||
LICENSE | ||
docs/ | ||
previews/ | ||
|
||
# misc | ||
*.log | ||
*.json | ||
*.bat | ||
*.sh |
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,16 +1,18 @@ | ||
APPLICATION_ENV=production | ||
MONGO_URI=changeme | ||
NATIONAL_DATA_COLLECTION=changeme | ||
REGIONAL_DATA_COLLECTION=changeme | ||
PROVINCIAL_DATA_COLLECTION=changeme | ||
NATIONAL_TRENDS_COLLECTION=changeme | ||
NATIONAL_SERIES_COLLECTION=changeme | ||
REGIONAL_DATA_COLLECTION=changeme | ||
REGIONAL_TRENDS_COLLECTION=changeme | ||
REGIONAL_SERIES_COLLECTION=changeme | ||
REGIONAL_BREAKDOWN_COLLECTION=changeme | ||
PROVINCIAL_DATA_COLLECTION=changeme | ||
PROVINCIAL_BREAKDOWN_COLLECTION=changeme | ||
PROVINCIAL_TRENDS_COLLECTION=changeme | ||
PROVINCIAL_SERIES_COLLECTION=changeme | ||
VAX_COLLECTION=changeme | ||
VAX_SUMMARY_COLLECTION=changeme | ||
GH_WEBHOOK_SECRET=changeme | ||
SECRET_KEY=changeme | ||
API_KEY=changeme | ||
REDIS_URL=changeme |
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,2 +1,3 @@ | ||
release: python -m flask create-collections | ||
web: gunicorn wsgi:app | ||
web: gunicorn wsgi:app | ||
worker: celery -A celery_worker.celery worker |
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
Oops, something went wrong.