Merge pull request 'newserver' (#209) from newserver into main
Some checks failed
Minify Map JSON / processJson (push) Has been cancelled
Some checks failed
Minify Map JSON / processJson (push) Has been cancelled
Reviewed-on: #209
This commit is contained in:
commit
7cc0879d44
2 changed files with 3 additions and 3 deletions
|
|
@ -18,13 +18,13 @@ See [contributing](https://librarymap.hugh.run/contributing/), especially *[whic
|
|||
|
||||
## Deployment
|
||||
|
||||
The website for this project uses [git-webhooks](https://git.suboptimal.solutions/hugh/git-webhooks) with a customisation to run the `process.js` file that is found in this repository on each pull. The `process.js` file **is stored with the webhooks files** so that everything can be `npm install`ed together. Remember this if you ever need to update the file.
|
||||
The website for this project uses [git-webhooks](https://git.suboptimal.solutions/hugh/git-webhooks) with a customisation to run the `process.js` file that is found in this repository on each pull. The `process.js` file **is stored with the webhooks files** so that everything can be `npm install`ed together. Documentation for this will be updated soon as it is a little confusing right now.
|
||||
|
||||
This `process.js` file syncs any changes from the csv files into the topojson attributes (e.g. when a library changes their ILS).
|
||||
|
||||
## Updating the topojson
|
||||
|
||||
**NOTE**: If you update the topojson file and push, the server webhook will fail because there will be local changes. TODO: some way to fix this.
|
||||
**NOTE**: If you update the topojson file and push, the server webhook will fail because there will be local changes. TODO: some way to fix this. In the meantime, `git restore` the old file so it can be replaced.
|
||||
|
||||
### 1. Update boundaries
|
||||
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue