mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-09 06:32:11 -05:00
Add Procfile.dev to ease running of flask & celery in dev
This commit is contained in:
2
Procfile.dev
Normal file
2
Procfile.dev
Normal file
@@ -0,0 +1,2 @@
|
||||
web: make run-flask
|
||||
worker: make run-celery
|
||||
@@ -66,6 +66,10 @@ Our other repositories are:
|
||||
|
||||
`make run-celery`
|
||||
|
||||
1. Or, run flask and celery together with [foreman](https://rubygems.org/gems/foreman)
|
||||
|
||||
`foreman start -f Procfile.dev`
|
||||
|
||||
|
||||
### VS Code && Docker installation
|
||||
|
||||
@@ -97,4 +101,3 @@ If you're working in VS Code, you can also leverage Docker for a containerized d
|
||||
`make run-celery`
|
||||
|
||||
NOTE: when you change .env in the future, you'll need to rebuild the devcontainer for the change to take effect. Vscode _should_ detect the change and prompt you with a toast notification during a cached build. If not, you can find a manual rebuild in command pallette or just `docker rm` the notifications-api container.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user