urbit.org
Test and Develop in Arvo
-
Make sure that all of the necessary submodules (docs) are up to date by running
git submodule initand thengit submodule update --recursive --remotein this repo -
Make a fakezod, using this branch. 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 -
In the running fakezod, mount the filesystem by running
|mount % -
Run
./scripts/topier <path/to/pier>from this directory to copy the pertinent files to your pier -
Visit
localhost:8080to see the rendered urbit.org
To render/export
- Copy all content into your ship
./scripts/topier <path/to/pier> - Nuke docs
rm -rf </path/to/pier>/home/web/docs - Copy rendered content into
distdirectory in this repocp -r </path/to/pier>/.urb/put/web dist && cp static-site/js dist - Run
|staticin dojo to render full site - docs - Copy all content into your ship
./scripts/topier <path/to/pier> - Nuke posts
rm -rf </path/to/pier>/home/web/posts - Run
|staticin dojo to render docs - Copy rendered docs into
distdirectory in this repocp -r </path/to/pier>/.urb/put/web/docs dist - Test by running
cd dist && python -m SimpleHTTPServer - See urbit.org at
localhost:8000