Skip to content

Commit 0728d70

Browse files
committed
Refactor static file asset hosting #578
1 parent 7535eec commit 0728d70

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+66
-677
lines changed

CONTRIBUTE.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Check out the [Roadmap](https://docs.atomicdata.dev/roadmap.html) if you want to
2626
- [Drill](#drill)
2727
- [Responsible disclosure / Coordinated Vulnerability Disclosure](#responsible-disclosure--coordinated-vulnerability-disclosure)
2828
- [Releases, Versioning and Tagging](#releases-versioning-and-tagging)
29-
- [Including JS app_assets](#including-js-app_assets)
29+
- [Including JS app\_assets](#including-js-app_assets)
3030
- [Publishing manually - doing the CI's work](#publishing-manually---doing-the-cis-work)
3131
- [Building and publishing binaries](#building-and-publishing-binaries)
3232
- [Publishing to Cargo](#publishing-to-cargo)
@@ -175,10 +175,11 @@ Note:
175175

176176
Before tagging a new version, make sure to update the `app_assets` folder:
177177

178-
1. clone [atomic-data-browser](https://github.com/atomicdata-dev/atomic-data-browser) in the folder above this one
179-
2. run `pmpm build-server` in `atomic-data-browser`, which should
180-
3. Make sure not to commit all the files, manually check them
181-
4. search and replace `.workbox` with `./app_assets/workbox` in `sw.js`, because we'll host `sw.js` from root.
178+
1. Go up one directory from `atomic-data-rust` => `cd ..`
179+
2. In here, clone [atomic-data-browser](https://github.com/atomicdata-dev/atomic-data-browser)
180+
3. Run `./build-server.sh` to compile assets and copy them to your `app_assets` directory
181+
4. Make sure not to commit all the files, manually check them
182+
5. search and replace `.workbox` with `./app_assets/workbox` in `sw.js`, because we'll host `sw.js` from root.
182183

183184
### Publishing manually - doing the CI's work
184185

File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)