3 [![Build Status](https://secure.travis-ci.org/remotestorage/remotestorage.js.png)](http://travis-ci.org/remotestorage/remotestorage.js)
9 * [Adding remoteStorage to your app](http://remotestoragejs.com/doc/code/files2/howto-include-txt.html)
10 * [Howto contribute](http://remotestoragejs.com/doc/code/files2/howto-contribute-txt.html)
11 * [Working with schemas](http://remotestoragejs.com/doc/code/files2/howto-include-txt.html)
12 * [How to configure synchronization](http://remotestoragejs.com/doc/code/files/lib/sync-js.html#How_to_configure_sync)
13 * Consult the [API documentation](http://remotestoragejs.com/doc/code)
14 * Ask in the [IRC Channel](http://webchat.freenode.net/?channels=remotestorage) (#remotestorage on freenode)
15 * Open an issue for discussion, either in the relevant repository or [the website repo for general discussion](https://github.com/remotestorage/remotestorage.io/issues)
17 ### Adding remoteStorage.js v0.7 to your app:
19 #### add "remoteStorage-modules.min.js" (you can download it from http://remotestoragejs.com/release/0.7.0/remoteStorage-modules.min.js)
20 #### in index.html, include this script and any modules you plan to load:
22 <script src="remoteStorage-modules.js"></script>
24 #### at the beginning of the document body, add a div:
26 <div id="remotestorage-connect"></div>
28 #### claim access to for instance the 'notes' module, and display the widget:
30 remoteStorage.claimAccess({notes: 'rw'}).then(function() {
31 remoteStorage.displayWidget('remotestorage-connect');
35 #### if your app can only be used while connected, then add this on the '...':
37 remoteStorage.onWidget('ready', function() {
40 remoteStorage.onWidget('disconnect', function() {
44 #### in any case, update the DOM when changes come in. This is module-specific:
46 remoteStorage.notes.onChange(function() {
50 #### see [example/minimal-0.7.0/index.html](https://github.com/remotestorage/remotestorage.js/blob/master/example/minimal-0.7.0/index.html) for the full example code.
52 ### Running the local Test Server
54 To test remoteStorage enabled apps, you need to have a remoteStorage compatible storage account.
55 To find out how to get one, see [Get Storage on remotestorage.io](http://remotestorage.io/get/).
57 Additionally, remoteStorage.js brings a tiny example server for nodeJS.
59 #### To run the test server, first of all add a line
63 #### to your /etc/hosts file. then run:
65 sudo node server/nodejs-example.js