on master help sign in
Update README.md
5cf0a7bAnthony Arroyo
README.md+11−3
@@ -6,7 +6,7 @@
6
6
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`
8
8
9−3. In the running fakezod, mount the filesystem by running `|mount /===`
9+3. In the running fakezod, mount the filesystem by running `|mount %`
10
10
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
12
12
@@ -14,5 +14,13 @@
14
14
15## To render/export
15## To render/export
16
16
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`