This guide assumes Arvo has been installed.
Note: installing Arvo and the step below to use the Arvo repo are not the same thing.
-
Make sure that all of the necessary submodules (docs) are up to date by running
git submodule init
and thengit submodule update --recursive --remote
in this repo -
Clone the Arvo repo
git clone [email protected]:urbit/arvo.git
and use this branchcd arvo && git co -b static-site-dev origin/static-site-dev
. It has a few different renderers and marks for svgs, images, etc -
Make a fakezod using the Arvo branch. Use the command
urbit -F zod -A <path/to/arvo/repo> -sc zod -S
-
If you've successfully booted your Urbit you should see the Dojo prompt:
~zod:dojo>
, if instead you see:~zod:talk[]
typectrl-x
to switch to the Dojo prompt -
In the running fakezod, mount the filesystem by running
|mount %
-
On a different terminal run
./scripts/topier <path/to/pier>
from this directory to copy the pertinent files to your pier (the pier is thezod
directory created in step 3) -
Go to your pier directory
cd <path/to/pier
and view the contents of.http.ports
. Navigate to localhost at the port labeledinsecure public
e.g. visitlocalhost:8080
to see the rendered urbit.org if you see8080 insecure public
A build script is provided in the scripts
directory, or you can follow these instructions:
- Copy all content into your ship
./scripts/topier <path/to/pier>
- Delete docs
rm -rf </path/to/pier>/home/web/docs
- Run
|static
in dojo to render full site - docs - Copy rendered content into
dist
directory in this repocp -r </path/to/pier>/.urb/put/web dist && cp -r static-site/js dist
- Copy all content into your ship
./scripts/topier <path/to/pier>
- Delete posts
rm -rf </path/to/pier>/home/web/posts
- Run
|static
in dojo to render docs - Copy rendered docs into
dist
directory 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