https://github.com/simplicitesoftware/resources
Platform resources
https://github.com/simplicitesoftware/resources
Last synced: 6 months ago
JSON representation
Platform resources
- Host: GitHub
- URL: https://github.com/simplicitesoftware/resources
- Owner: simplicitesoftware
- Created: 2018-05-02T13:58:57.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2025-01-27T13:41:55.000Z (over 1 year ago)
- Last Synced: 2025-01-27T14:36:51.256Z (over 1 year ago)
- Language: CSS
- Size: 2.22 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Simplicité public resources
===========================
Adding
------
To add a resource, add a line to the `update_from_docs.sh` script
Using
-----
Retrieve the files using **jsDelivr** (cf [docs](https://www.jsdelivr.com/documentation#id-github))
**Example:**
https://cdn.jsdelivr.net/gh/simplicitesoftware/resources@latest/public/appstore_apps.json
Updating
--------
jsDelivr has a cache which can be purged.
1. Tag your commit with a valid incremented semver number like `v1.0.2`
2. Push the tag to github
3. Purge the URLs containing the `@latest` reference, either through curl or through [jsDelivr's UI](https://www.jsdelivr.com/tools/purge)
```bash
curl -L -X POST \
https://purge.jsdelivr.net \
-H 'cache-control: no-cache' \
-H 'content-type: application/json' \
-d '{"path":[
"/gh/simplicitesoftware/resources@latest/public/appstore_demo.json",
"/gh/simplicitesoftware/resources@latest/public/appstore_apps.json",
"/gh/simplicitesoftware/resources@latest/public/appstore_tools.json",
"/gh/simplicitesoftware/resources@latest/portainer_templates/templates.json"
]}'
```
You **should** get a reponse like the following from jsDelivr if it worked. If not, use the UI.
```json
{
"id": "CXWDAKcejkTaas0QS",
"status": "pending",
"timestamp": "2024-03-21T16:33:50.876Z"
}
```