on master help sign in
fix windows command, update server.md & misc tweaks
cf8a18eTinnus Napbus
content/getting-started/cli.md+2−2
@@ -99,10 +99,10 @@ When your comet is finished booting, you will see `~sampel_marzod:dojo>` (Dojo:
99
99
100To exit Urbit, use `Ctrl-D` or enter `|exit` into Dojo.
100To exit Urbit, use `Ctrl-D` or enter `|exit` into Dojo.
101
101
102−To start your comet up again, run the following (note the lack of `-c` argument):
102+To start your comet up again, run the following command:
103
103
104```sh
104```sh
105−./urbit mycomet
105+./mycomet/.run
106```
106```
107
107
108### Using the web interface
108### Using the web interface
content/getting-started/server.md+12−21
@@ -72,11 +72,7 @@ Download Urbit with the following commands:
72{% tab label="MacOS" %}
72{% tab label="MacOS" %}
73
73
74```bash
74```bash
75−mkdir ~/urbit
76−cd ~/urbit
77−curl -JLO https://urbit.org/install/mac/latest
75+curl -L https://urbit.org/install/mac/latest | tar xzk --strip=1 && ./urbit
78−tar zxvf ./darwin.tgz --strip=1
79−~/urbit/urbit
80```
76```
81
77
82{% /tab %}
78{% /tab %}
@@ -84,30 +80,22 @@ tar zxvf ./darwin.tgz --strip=1
84{% tab label="Linux" %}
80{% tab label="Linux" %}
85
81
86```shell
82```shell
87−mkdir ~/urbit
88−cd ~/urbit
89−wget --content-disposition https://urbit.org/install/linux64/latest
83+curl -L https://urbit.org/install/linux64/latest | tar xzk --strip=1 && ./urbit
90−tar zxvf ./linux64.tgz --strip=1
91−~/urbit/urbit
92```
84```
93
85
94Linux users may need to run this command in another terminal window to access your Urbit on port 80:
86Linux users may need to run this command in another terminal window to access your Urbit on port 80:
95
87
96```shell
88```shell
97sudo apt-get install libcap2-bin
89sudo apt-get install libcap2-bin
98−sudo setcap 'cap_net_bind_service=+ep' ~/urbit/urbit
90+sudo setcap 'cap_net_bind_service=+ep' ./urbit
99```
91```
100
92
101{% /tab %}
93{% /tab %}
102
94
103{% tab label="Windows" %}
95{% tab label="Windows" %}
104
96
105−```winbatch
97+```shell
106−mkdir %USERPROFILE%\urbit
107−cd %USERPROFILE%\urbit
108−curl -JLO https://urbit.org/install/windows/latest
98+curl.exe -L https://urbit.org/install/windows/latest | tar xzk --strip=1 && ./urbit
109−tar zxvf .\windows.tgz --strip=1
110−%USERPROFILE%\urbit\urbit
111```
99```
112
100
113> Windows 10 build 17063 and later includes the familiar `curl` and `tar` command-line tools.
101> Windows 10 build 17063 and later includes the familiar `curl` and `tar` command-line tools.
@@ -116,12 +104,12 @@ tar zxvf .\windows.tgz --strip=1
116
104
117{% /tabs %}
105{% /tabs %}
118
106
119−Next, transfer `your-keyfile.key` to your server using scp or an FTP client, then move it to the `~/urbit` directory you created in the last step.
107+Next, transfer `your-keyfile.key` to your server using scp or an FTP client.
120
108
121Now you can run Urbit for the first time. Run the below command, replacing ames_port with a public port number between 49152 to 65535, sampel-palnet with the name of your planet, and sampel-palnet.key with the name of your keyfile.
109Now you can run Urbit for the first time. Run the below command, replacing ames_port with a public port number between 49152 to 65535, sampel-palnet with the name of your planet, and sampel-palnet.key with the name of your keyfile.
122
110
123```sh
111```sh
124−./urbit -p ames_port -w sampel-palnet -k ./sampel-palnet.key
112+./urbit -p ames_port -w sampel-palnet -k sampel-palnet.key
125```
113```
126
114
127Arvo, the Urbit OS, now creates a directory called `sampel-palnet/` and begins booting your planet and establishing connections with the P2P network. When that's finished, you'll see Dojo, the Urbit command line:
115Arvo, the Urbit OS, now creates a directory called `sampel-palnet/` and begins booting your planet and establishing connections with the P2P network. When that's finished, you'll see Dojo, the Urbit command line:
@@ -138,14 +126,17 @@ Check out the [cloud hosting guide](/using/running/hosting) for tips on improvin
138
126
139Shut down your planet by typing Ctrl+D into Dojo.
127Shut down your planet by typing Ctrl+D into Dojo.
140
128
129+The `urbit` binary will have automatically "docked" with your pier, copying
130+itself inside so a separate binary isn't necessary. To boot your planet up
131+again, run `./sampel-palnet/.run -p ames_port`, once again replacing
141−To boot your planet up again, run the following command, once again replacing `ames_port` with the port you used previously, and now referencing your planet's folder.
132+`ames_port` with the port you used previously.
142
133
143Your planet's folder, `sampel-palnet/`, is called your pier, and it holds all your data. If you want to migrate your data from one system to another, you must bring your pier.
134Your planet's folder, `sampel-palnet/`, is called your pier, and it holds all your data. If you want to migrate your data from one system to another, you must bring your pier.
144
135
145You should also delete your keyfile from your remote system to prevent yourself from using the same key twice, which will cause communication problems with other planets.
136You should also delete your keyfile from your remote system to prevent yourself from using the same key twice, which will cause communication problems with other planets.
146
137
147```sh
138```sh
148−rm ./your-keyfile.key
139+rm your-keyfile.key
149```
140```
150
141
151### 5. Log in
142### 5. Log in