Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 906 Bytes

deployment.md

File metadata and controls

26 lines (20 loc) · 906 Bytes

Deployment

First-time setup

  1. Create and boot a moon on the local machine
    • |moon to generate moon name and key on the planet
    • ./urbit -w <moon-name> -G <key> on local machine
  2. On the moon: Add desk and distribute the application
    • |merge %tahuti our %base
    • |mount %tahuti
    • |commit %tahuti
    • |public %tahuti
  3. On the planet: Sync from the moon: |sync %tahuti ~marsed-lasbyt-talfus-laddus %tahuti
  4. On the planet: Publish the app: :treaty|publish %tahuti
  5. Shutdown the moon on the local machine

Release a new version

  1. Bump version numbers in desk.docket-0 and tahuti-api.hoon
  2. Boot the moon
  3. |commit the changes
  4. On the planet: Sync from the moon: |sync %tahuti ~sarwyd-taswyn-talfus-laddus %tahuti

The planet will automatically retrieve those updates and distribute them.

Thanks ~tiller-tolbus for the initial instructions.