Files: 22e4c815b88ce4dd17ac212d1499ff8996cef17c / tmpl / docs / basics / install-the-database.html.js
1073 bytesRaw
1 | var com = require('../../com.part') |
2 | var page = require('../../page.part') |
3 | module.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 |
12 | module.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>Applications</h2> |
28 | <p> |
29 | Choose a UI for Scuttlebot. |
30 | </p> |
31 | </a> |
32 | <a href="/docs/basics/publish-a-message.html"> |
33 | <h2>Read more</h2> |
34 | <p> |
35 | Learn about the API. |
36 | </p> |
37 | </a> |
38 | </div> |
39 | ` |
Built with git-ssb-web