on c85e34e help sign in
urbit.org/content/develop.md
108 lines 3.3 kB history raw
1+++
2title = "Develop"
3template = "page_indiced.html"
4+++
6## Creating a Development Ship {#creating-a-development-ship}
8To do work with Hoon and with the system, we recommended using a "fake" ship -- one not connected to the network.
10Because such a ship has no presence on the network, you don't need an Azimuth identity for its purposes. You just need to have [installed our software](@/docs/getting-started/installing-urbit.md).
12To create a fake ship named `~zod`, run the command below. You can replace `zod` with any valid Urbit ship-name.
14```
15urbit -F zod
16```
18Now you should see a block of boot messages, starting with the Urbit version number. Welcome!
20### Basic Operations
22Welcome to your ship! There's a few things you should do to become oriented.
24#### The Dojo
26Let's try out the Dojo, the Arvo command line and Hoon REPL:
28```
29~sample-planet:dojo> (add 2 2)
30```
32Should produce:
34```
35> (add 2 2)
37```
39Good.
41#### Mounting
43Your ship's filesystem being "mounted" means that its filesystem can be interacted with through Unix. This makes things much easier for you.
45The Arvo filesystem isn't mounted to Unix by default. Switch to the Dojo prompt and run:
47```
48~sample-planet:dojo> |mount %
49```
51This should produce:
53```
54> |mount %
55>=
56```
58which indicates that the command was processed.
60`|mount %` will cause a `home/` directory to appear inside your _pier_ folder in Unix (the "pier" is our shorthand for the directory whose name corresponds to your Azimuth point). Changes to these files can be committed to your pier by running `|commit %home` once you're done.
62#### Shutting Down and Restarting
64You can turn your ship off with `ctrl-d` from the Talk or Dojo prompts.
66To restart your ship, simply pass the name of your pier:
68```
69urbit some-planet
70```
72## Creating a Comet Ship {#creating-a-comet}
74**Comets** are urbits whose names are 128-bits or 16 syllables, such as:
76`~dasres-ragnep-lislyt-ribpyl--mosnyx-bisdem-nidful-marzod`
78Comet names aren't quite as memorable as others, but they're disposable identities that anyone can make for free to join the live network.
80### Booting a Comet
82To boot your comet, go into the command line and run the following command from the directory that was created during Urbit installation:
84```
85$ urbit -c mycomet
86```
88This will take a few minutes and will spin out a bunch of boot messages. Toward the end, you'll see something like:
90```
91ames: on localhost, UDP 31337.
92http: live (insecure, public) on 8080
93http: live ("secure", public) on 8443
94http: live (insecure, loopback) on 12321
95~dasres_marzod:dojo>
96```
98## Community Tutorials {#community-tutorials}
100Here are some tutorials written by members of the Urbit community. Some are a little outdated, but they may still prove useful.
102- [Generators](https://github.com/joemfb/mardev/tree/master/docs/gen) by `~master-morzod`
103- [Urbit by Doing](https://github.com/Fang-/Urbit-By-Doing) by `~palfun-foslup`
104- [Learning Hoon](https://github.com/knubie/learning-hoon) by `@knubie`
105- [A Nock Interpreter](https://jtobin.io/nock) by `~nidsut-tomdun`
106- [Basic Hoonery](https://jtobin.io/basic-hoonery) by `~nidsut-tomdun`
108If you want to add something to the list, [shoot us an email](mailto:support@urbit.org) or make a pull request in the [docs repository](https://github.com/urbit/docs).