on 3fee110 help sign in

The source for urbit.org

git clone ssh://git.iko.soy/urbit.org

urbit.org

Test and Develop in Arvo

  1. Make sure that all of the necessary submodules (docs) are up to date by running git submodule init and then git submodule update --recursive --remote in this repo

  2. 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

  3. In the running fakezod, mount the filesystem by running |mount %

  4. Run ./scripts/topier <path/to/pier> from this directory to copy the pertinent files to your pier

  5. Visit localhost:80 to see the rendered urbit.org

To render/export

  1. Copy all content into your ship ./scripts/topier <path/to/pier>
  2. Nuke docs rm -rf </path/to/pier>/home/web/docs
  3. Run |static in dojo to render full site - docs
  4. Copy rendered content into dist directory in this repo cp -r </path/to/pier>/.urb/put/web dist && cp -r static-site/js dist
  5. Copy all content into your ship ./scripts/topier <path/to/pier>
  6. Nuke posts rm -rf </path/to/pier>/home/web/posts
  7. Run |static in dojo to render docs
  8. Copy rendered docs into dist directory in this repo cp -r </path/to/pier>/.urb/put/web/docs dist
  9. Test by running cd dist && python -m SimpleHTTPServer
  10. See urbit.org at localhost:8000