You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*(Essentially you'll replace just the last line of the command, switching out the "runserver" line)
93
+
```
94
+
95
+
The primary use case for this will be when making changes to the Nginx container image that runs in production and hosts the static file content, or also if making changes to the Gunicorn config.
96
+
97
+
Changes of this sort should be carefully evaluated as they may require interaction with systems managed by devops/sysops folks.
98
+
80
99
## [Django admin](https://docs.djangoproject.com/en/4.1/ref/contrib/admin/) web interface (user should be `is_staff` or `is_superuser`)
81
100
`http://localhost:8000/admin`
82
101
@@ -126,3 +145,22 @@ Othervice you will receive Errors during import process:
126
145
3. Import `Signal.base` fields with `SignalBaseResource` - [http://localhost:8000/admin/signals/signal/import/](http://localhost:8000/admin/signals/signal/import/)
Each environment is essentially a bunch of different services all governed by `docker-compose`, running across multiple hosts, with various layering of proxies and load balancers.
158
+
159
+
### Basic workflow
160
+
161
+
- A PR merged to either `development` or `master` will trigger CI to build container images that are then tagged (based on the branch name and ":latest" respectively) and stored in our GitHub Packages container image repository.
162
+
- CI triggers a webhook that tells the host systems to pull and run new container images and restart any services that have been updated.
163
+
164
+
### Control of the deployed environment
165
+
166
+
The environment and secrets used for deployment live in <https://github.com/cmu-delphi/delphi-ansible-web>. Any changes to the environment should be made there and then tested and validated by DevOps folks.
0 commit comments