git ssb

2+

cel / scuttlebot.io



Tree: 6df421c40b28e10fe7138c1519f7c78ebb52f470

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

758 bytesRaw
1var com = require('../../com.part')
2var page = require('../../page.part')
3module.exports = () => page({
4 section: 'docs',
5 tab: 'docs-basics',
6 path :'/docs/basics/install-the-database.html',
7 content: module.exports.content()
8})
9
10// put content in a separate function so that index.html can reuse it
11module.exports.content = () => `
12 <h2>Install the database</h2>
13 ${ com.code({ bash: `npm install -g scuttlebot` }) }
14 <h2>Start the server</h2>
15 ${ com.code({ bash: `sbot server` }) }
16 <p class="next"><a href="/docs/basics/open-a-client.html">Open a client</a></p>
17`
18 // <h2>Autostart the server (OSX)</h2>
19 // <p>todo</p>
20 // <h2>Autostart the server (Ubuntu)</h2>
21 // <p>todo</p>
22 // <h2>Autostart the server (Windows)</h2>
23 // <p>todo</p>

Built with git-ssb-web