close
Warning:
Can't synchronize with repository "(default)" (Unsupported version control system "darcs": Can't find an appropriate component, maybe the corresponding plugin was not enabled? ). Look in the Trac log for more information.
- Timestamp:
-
2011-01-09 07:11:07 (14 years ago)
- Author:
-
zooko
- Comment:
-
a few tweaks to the docs
Legend:
- Unmodified
- Added
- Removed
- Modified
-
v33
|
v34
|
|
2 | 2 | |
3 | 3 | [http://www.tiddlywiki.com TiddlyWiki] is a client-side wiki written purely in HTML/CSS and !JavaScript. |
4 | | [http://tahoe-lafs.org Tahoe-LAFS] is a decentralized, secure storage grid. These go together like chocolate and peanut butter! We call the result an Unhosted Wiki, or !UnWiki. |
| 4 | [http://tahoe-lafs.org Tahoe-LAFS] is a decentralized, secure storage grid. These go together like chocolate and peanut butter! We call the result an ''Unhosted Wiki''. |
5 | 5 | |
6 | | For a hands on introduction here is an [http://pubgrid.tahoe-lafs.org/uri/URI%3ADIR2%3Afx7qhfvfrrm7um327ntkjwfu3m%3Atynsxdcwm5imqwqmdrv7wvwj2jupjlyt5pgnu4nmmct6vledgw2a/wiki.html Unhosted Wiki] you can play with. Follow the link, edit the !UnWiki, and click "Save Changes"! :-) |
| 6 | For a hands on introduction here is an [http://pubgrid.tahoe-lafs.org/uri/URI%3ADIR2%3Afx7qhfvfrrm7um327ntkjwfu3m%3Atynsxdcwm5imqwqmdrv7wvwj2jupjlyt5pgnu4nmmct6vledgw2a/wiki.html Unhosted Wiki] you can play with. Follow the link, edit the Unhosted Wiki, and click "Save Changes"! :-) |
7 | 7 | |
8 | | == To Build a Tahoe-Ready !TiddlyWiki (Unhosted Wiki) == |
| 8 | == To Build a Tahoe-LAFS-Ready !TiddlyWiki (Unhosted Wiki) == |
9 | 9 | |
10 | | === You'll need tahoe: === |
| 10 | === You'll need tahoe-lafs: === |
11 | 11 | |
12 | | Set up a tahoe client on a '''secure''' machine following the {{{"}}}[http://tahoe-lafs.org/source/tahoe-lafs/trunk/docs/quickstart.html quickstart]{{{"}}} and {{{"}}}[http://tahoe-lafs.org/source/tahoe-lafs/trunk/docs/running.html#Doing running]{{{"}}} instructions. |
| 12 | Set up a tahoe-lafs web gateway on a '''secure''' machine which is controlled only by you following the {{{"}}}[http://tahoe-lafs.org/source/tahoe-lafs/trunk/docs/quickstart.html quickstart]{{{"}}} and {{{"}}}[http://tahoe-lafs.org/source/tahoe-lafs/trunk/docs/running.html#Doing running]{{{"}}} instructions. |
13 | 13 | |
14 | | Now that you have a tahoe client running (on a '''secure''' platform, like your laptop) the next step is to pu''blish'' the tiddlywiki, on the grid. To do this... |
| 14 | Now that you have a tahoe-lafs gateway running (on a machine under your own control, like your laptop) the next step is to pu''blish'' the tiddlywiki, through the gateway, onto the tahoe-lafs grid. To do this... |
15 | 15 | |
16 | | === You'll need a customized tiddlywiki: === |
| 16 | === You'll need a tiddlywiki with a couple of plugins: === |
17 | 17 | |
18 | | Use wget to get the customized tiddlywiki: |
| 18 | Use wget to get a copy of an empty tiddlywiki with the ''HTTPSavingPlugin'' and ''TahoePlugin'' already installed: |
19 | 19 | |
20 | 20 | {{{wget http://tahoe-lafs.org/source/tiddly_on_tahoe/trunk/tahoe_tiddly/wiki.html}}} |
| 21 | |
| 22 | (Note: starting with this empty file that comes preloaded with the plugins is just for convenience—if you already have a tiddlywiki document that you want to publish on a tahoe-lafs grid, you can simply add the ''HTTPSavingPlugin'' and ''TahoePlugin'' to your current file and then proceed with these instructions.) |
21 | 23 | |
22 | 24 | == You'll need to pu''blish'' the tiddlwiki to the grid: == |
… |
… |
|
24 | 26 | Use the CLI described under the [http://tahoe-lafs.org/source/tahoe-lafs/trunk/docs/running.html#Doing running] documentation. |
25 | 27 | |
26 | | You need a tahoe directory to publish the tiddlywiki on. You could accomplish this by running the following steps in order, but it's preferable to put it together in a single command as demonstrated below. |
| 28 | You need a tahoe-lafs directory to put the tiddlywiki in. You could accomplish this by running the following steps in order, but it's preferable to put it together in a single command as demonstrated below. |
27 | 29 | |
28 | 30 | == Stepwise == |
… |
… |
|
37 | 39 | {{{tahoe cp wiki.html }}}''write capability'' |
38 | 40 | |
39 | | publishes the wiki.html to the directory you created in the previous step. It's critical that the write capability is stored somewhere you can reliably get to, as it is the only way to access the tiddlywiki. Since this is the case I recommend the following single step publication... |
| 41 | publishes the wiki.html to the directory you created in the previous step. It's critical that the write capability is stored somewhere you can reliably get to, as it is the only way to get write-access the tiddlywiki. Since this is the case I recommend the following single step publication... |
40 | 42 | |
41 | 43 | == Combined: == |
42 | 44 | |
43 | | {{{tahoe cp wiki.html `tahoe mkdir | tee WRITECAPABILITY`}}} |
| 45 | {{{tahoe cp wiki.html `tahoe mkdir | tee WRITECAPABILITY.txt`}}} |
44 | 46 | |
45 | 47 | You can now access your Unhosted Wiki via: |
46 | 48 | |
47 | | {{{http://localhost:3456/WRITECAPABILITY/wiki.html}}} |
48 | | |
| 49 | {{{http://localhost:3456/`cat WRITECAPABILITY.txt`/wiki.html}}} |