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:
|
|
|
|
|
|
|
|
+~X/tictactoe
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
*** - put bitcoin instructions here
|
|
|
|
|
|
|
|
|
|
|
|
[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
|
|
|
|
|