git ssb

2+

cel / scuttlebot.io



Tree: c0c9508d732a53b79ef287fd75268ac0d50dda3a

Files: c0c9508d732a53b79ef287fd75268ac0d50dda3a / tmpl / docs / basics / install-the-database.html.js

1138 bytesRaw
1var com = require('../../com.part')
2var page = require('../../page.part')
3module.exports = () => page({
4 title: 'Install the database',
5 section: 'docs',
6 tab: 'docs-basics',
7 path :'/docs/basics/install-the-database.html',
8 content: module.exports.content()
9})
10
11// put content in a separate function so that index.html can reuse it
12module.exports.content = () => `
13 <h2>Install the database</h2>
14 ${ com.code({ bash: `npm install -g scuttlebot` }) }
15 <p>
16 Install the database to your device, not to a host.
17 Each user runs their own Scuttlebot.
18 </p>
19 <h2>Start the server</h2>
20 ${ com.code({ bash: `sbot server` }) }
21 <blockquote>
22 Scuttlebot server must be running for any of its other commands, or apps, to work.
23 </blockquote>
24 <h2>Next:</h2>
25 <div class="choice-widget">
26 <a href="/apps/index.html">
27 <h2>Choose an application</h2>
28 <p>
29 Find a UI for Scuttlebot with the existing applications.
30 </p>
31 </a>
32 <a href="/docs/basics/open-a-client.html">
33 <h2>Continue this guide</h2>
34 <p>
35 Learn how to build your own applications.
36 </p>
37 </a>
38 </div>
39`

Built with git-ssb-web