Skip to content

Commit

Permalink
Docs: add deploy notes to README
Browse files Browse the repository at this point in the history
  • Loading branch information
jessemortenson committed Jun 10, 2024
1 parent b3e4eed commit 454ce60
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,17 @@ something like the following near the end:

```
PLAY RECAP ************************************
openstates.org : ok=41 changed=6
openstates.org : ok=41 changed=6]
```

### Deploy issues

* When changing something in JS, such as the mapbox toke in configuration, at least sometimes you can end up with old
code still being generated/existing in JS bundles generated by webpack. At least once it was necessary to delete
the bundle folders and re-run `npm run build` and the django `collectstatic` commands.
* Caching appears to happen somewhere between `nginx` and `uwsgi`. If still seeing "old" content, try restarting both
with `systemctl`

## Links

* [Issues](https://github.com/openstates/issues/issues)
Expand Down

0 comments on commit 454ce60

Please sign in to comment.