2015-05-20 05:38:03 +03:00
|
|
|
|
|
|
|
Commands
|
|
|
|
|
|
|
|
[from URL bar]
|
|
|
|
***TBD - Galen/Anton please fill in
|
|
|
|
|
|
|
|
[from unix]
|
|
|
|
For A, to build and boot:
|
|
|
|
git clone https://github.com/urbit/urbit
|
|
|
|
cd urbit
|
|
|
|
make
|
|
|
|
bin/urbit -T $A -c $A
|
|
|
|
|
|
|
|
For A, to kill and restart from checkpoint:
|
|
|
|
[in new terminal] killall -9 urbit
|
|
|
|
[in old terminal] urbit $A
|
|
|
|
|
|
|
|
For A, to kill, delete checkpoint, and rerun events:
|
|
|
|
[in new terminal] killall -9 urbit; rm -rf $A/.urb/chk
|
|
|
|
[in old terminal] urbit $A
|
|
|
|
|
|
|
|
For B, to edit /foo/bar/hoon:
|
|
|
|
*** Philip/anyone, add directions to install vim style
|
|
|
|
|
|
|
|
vim urbit/$B/$B/in/$DEMO/foo/bar.hoon
|
|
|
|
|
|
|
|
|
|
|
|
[from talk]
|
|
|
|
For A, to private-message B (who defaults to talking back):
|
|
|
|
|
2015-05-20 07:07:53 +03:00
|
|
|
;~B
|
2015-05-20 05:38:03 +03:00
|
|
|
|
|
|
|
To create a channel '%foobar':
|
|
|
|
|
|
|
|
;create channel %foobar 'channel description'
|
|
|
|
|
|
|
|
[from hood, #]
|
|
|
|
|
|
|
|
For A or B, to start tictactoe:
|
|
|
|
|
|
|
|
*demo/tictactoe
|
|
|
|
|
2015-05-20 07:07:53 +03:00
|
|
|
For A or B, to log in to X's tictactoe:
|
|
|
|
|
2015-05-20 22:04:53 +03:00
|
|
|
+~X/
|
2015-05-20 07:07:53 +03:00
|
|
|
|
|
|
|
To log out:
|
|
|
|
|
|
|
|
-~X/tictactoe
|
|
|
|
|
2015-05-20 05:38:03 +03:00
|
|
|
[from dojo]
|
|
|
|
|
|
|
|
For B, to create a %demo desk for this project:
|
|
|
|
|
|
|
|
:+merge %demo ~B %home
|
|
|
|
|
|
|
|
For A, to sync and follow B's demo desk:
|
|
|
|
|
|
|
|
:+sync %demo ~B %demo
|
|
|
|
|
2015-05-20 22:39:14 +03:00
|
|
|
[to send bitcoin]
|
2015-05-20 23:23:35 +03:00
|
|
|
Start the dæmon(from sole):
|
|
|
|
*bit
|
|
|
|
|
2015-05-20 22:39:14 +03:00
|
|
|
Auth in (from dojo):
|
2015-05-21 01:25:25 +03:00
|
|
|
:bit+auth [reacted-see-asana] 'f771f6dc08910095b2476b033dca62ddcb302b6617e6a7d4d66e194a2a9bd605'
|
2015-05-20 22:39:14 +03:00
|
|
|
|
2015-05-20 23:23:35 +03:00
|
|
|
In webtalk, click on the link and auth in. The password for coinbase account anton.dyudin@tlon.io has been communicated privately.
|
2015-05-20 22:39:14 +03:00
|
|
|
|
|
|
|
Click authorize and then return to the command line.
|
|
|
|
|
|
|
|
To send:
|
|
|
|
|
|
|
|
:bit+send 0c[bitcoin-address] '[qty-of-bitcoin]'
|
|
|
|
|
2015-05-20 23:23:35 +03:00
|
|
|
I recommend sending about .0001 bitcoin (2¢) because it's just over their minimum and it's an account with limited funds.
|
2015-05-20 22:39:14 +03:00
|
|
|
With this protocol, the recipient will obviously have to provide their btc address over chat.
|
|
|
|
|
|
|
|
Lastly, on https://blockchain.info/ there is a search bar that allows you to search by address, assuming you wish to display the address
|
2015-05-20 05:38:03 +03:00
|
|
|
|
|
|
|
[files in script, clay and unix]
|
|
|
|
|
|
|
|
The tictactoe app, all three versions:
|
|
|
|
|
|
|
|
/=demo=/ape/tictactoe/core/hook
|
|
|
|
urbit/$X/$X/in/$DEMO/ape/tictactoe/core/hook
|
|
|
|
|
|
|
|
version 1 (centralized):
|
|
|
|
$DEMO/files/1-ape-tictactoe.hoon
|
|
|
|
|
|
|
|
version 2 (distributed):
|
|
|
|
$DEMO/files/2-ape-tictactoe.hoon
|
|
|
|
|
|
|
|
version 3 (webified)
|
|
|
|
$DEMO/files/3-ape-tictactoe.hoon
|
|
|
|
|
|
|
|
Helper files needed for version 2:
|
|
|
|
|
2015-05-20 21:39:27 +03:00
|
|
|
The %octo-game mark, for game update diffs:
|
2015-05-20 05:38:03 +03:00
|
|
|
|
2015-05-20 21:39:27 +03:00
|
|
|
/=demo=/mar/octo-game/door/hook
|
|
|
|
urbit/$X/$X/in/$DEMO/mar/octo-game/door.hook
|
|
|
|
$DEMO/files/mar-octo-game.hoon
|
2015-05-20 05:38:03 +03:00
|
|
|
|
|
|
|
Helper files needed for version 3:
|
|
|
|
|
2015-05-20 21:39:27 +03:00
|
|
|
The %octo-move mark, for moves from the web:
|
2015-05-20 05:38:03 +03:00
|
|
|
|
2015-05-20 21:39:27 +03:00
|
|
|
/=demo=/mar/octo-move/door/hook
|
|
|
|
urbit/$X/$X/in/$DEMO/mar/octo-move/door.hook
|
|
|
|
$DEMO/files/mar-octo-move.hoon
|
2015-05-20 05:38:03 +03:00
|
|
|
|
|
|
|
The HTML generator:
|
|
|
|
|
2015-05-20 21:39:27 +03:00
|
|
|
/=demo=/pub/octo/fab/hymn/hook
|
|
|
|
urbit/$X/$X/in/$DEMO/pub/octo/fab/hymn.hook
|
|
|
|
$DEMO/files/pub-octo-hymn.hoon
|
2015-05-20 05:38:03 +03:00
|
|
|
|
|
|
|
The CSS:
|
|
|
|
|
2015-05-20 21:39:27 +03:00
|
|
|
/=demo=/pub/octo/src/main/css
|
|
|
|
urbit/$X/$X/in/$DEMO/pub/octo/src/main.css
|
|
|
|
$DEMO/files/pub-octo-main.css
|
2015-05-20 05:38:03 +03:00
|
|
|
|
|
|
|
The JS:
|
|
|
|
|
2015-05-20 21:39:27 +03:00
|
|
|
/=demo=/pub/octo/src/main/js
|
|
|
|
urbit/$X/$X/in/$DEMO/pub/octo/src/main.js
|
|
|
|
$DEMO/files/pub-octo-main.js
|
2015-05-20 05:38:03 +03:00
|
|
|
|
|
|
|
[from tictactoe]
|
|
|
|
|
|
|
|
To move:
|
|
|
|
|
|
|
|
X/Y where X is row, Y is column.
|
|
|
|
|
|
|
|
To connect to a remote server (in versions 2 and 3),
|
|
|
|
specifying the side you will play:
|
|
|
|
|
|
|
|
~X x
|
|
|
|
~X o
|
|
|
|
|
|
|
|
To disconnect from a remote server (versions 2 and 3)
|
|
|
|
|
|
|
|
~ *** - not well tested
|
|
|
|
|
|
|
|
[scripts, to run from branch root directory]
|
|
|
|
|
|
|
|
$DEMO/install1.sh - copy in all version 1 (centralized) files
|
|
|
|
$DEMO/install2.sh - copy in all version 2 (distributed) files
|
|
|
|
$DEMO/install3.sh - copy in all version 3 (webby) files
|
|
|
|
|