@@ -6,7 +6,7 @@
72. Make a fakezod, using [this branch](https://github.com/urbit/arvo/tree/static-site-dev). It just has a few different renderers and marks for svgs, images, etc. Use the command `urbit -F zod -A <path/to/arvo/repo> -s -c zod -S`
72. Make a fakezod, using [this branch](https://github.com/urbit/arvo/tree/static-site-dev). It just has a few different renderers and marks for svgs, images, etc. Use the command `urbit -F zod -A <path/to/arvo/repo> -s -c zod -S`
9−3. In the running fakezod, mount the filesystem by running `|mount /===`
9+3. In the running fakezod, mount the filesystem by running `|mount %`
114. Run `./scripts/topier <path/to/pier>` from this directory to copy the pertinent files to your pier
114. Run `./scripts/topier <path/to/pier>` from this directory to copy the pertinent files to your pier
@@ -14,5 +14,13 @@
15## To render/export
15## To render/export
17−1. Run `|static` in dojo
17+1. Copy all content into your ship `./scripts/topier <path/to/pier>`
18−2. You will find the outputted site at `<pier>/.urb/put/web`
18+2. Nuke docs `rm -rf </path/to/pier>/home/web/docs`
19+3. Copy rendered content into `dist` directory in this repo `cp -r </path/to/pier>/.urb/put/web dist && cp static-site/js dist`
20+4. Run `|static` in dojo to render full site - docs
21+5. Copy all content into your ship `./scripts/topier <path/to/pier>`
22+6. Nuke posts `rm -rf </path/to/pier>/home/web/posts`
23+7. Run `|static` in dojo to render docs
24+8. Copy rendered docs into `dist` directory in this repo `cp -r </path/to/pier>/.urb/put/web/docs dist`
25+9. Test by running `cd dist && python -m SimpleHTTPServer`
26+10. See urbit.org at `localhost:8000`