updated info about process.js
This commit is contained in:
parent
32eac6d193
commit
d3e0522671
1 changed files with 3 additions and 1 deletions
|
|
@ -28,7 +28,9 @@ We also need a MapBox public token. THese are safe to use in public code, especi
|
|||
|
||||
## Updating the topojson
|
||||
|
||||
**NOTE**: If you update the topojson file and push, the server webhook will fail because there will be local changes. This is currently being fixed in the `process.js` file used by `git-webhook` (TODO)...
|
||||
Each time a new changes is pulled into the repository, the code will be pushed to the website [via a webhook](https://git.suboptimal.solutions/hugh/git-webhooks). This processes any changes in `data` and updates the `topojoson` file as needed. If we did this all in the repository on the server, it would cause merge conflicts. Instead, we first copy the necessary files over to `/srv/` and _then_ process the files.
|
||||
|
||||
This uses the `process.js` file in this repository, but the file has been copied over to the `git-webhook` files on the server so that the webhook can run it. This required a few adjustments to what is `npm install`ed.
|
||||
|
||||
### 1. Update boundaries
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue