git ssb

2+

cel / scuttlebot.io



Tree: 9e4b77aeb7181a93a9ee3ceb1c21d11841a35f57

Files: 9e4b77aeb7181a93a9ee3ceb1c21d11841a35f57 / tmpl / basics / install-the-database.html.js

890 bytesRaw
1var com = require('../com.part')
2var page = require('../page.part')
3module.exports = () => page({
4 tab: 'basics',
5 path: '/basics/install-the-database.html',
6 content: module.exports.content()
7})
8
9// put content in a separate function so that index.html can reuse it
10module.exports.content = () => `
11 <h2>Install the database</h2>
12 ${ com.code({ bash: `npm install -g scuttlebot` }) }
13 <h2>Start the server</h2>
14 ${ com.code({ bash: `sbot server` }) }
15 <p><a class="cta" href="javascript:alert('TODO: This will popup to a youtube video demoing sbot install and usage, and then patchwork')">&#9654; See it in action</a></p>
16 <p class="next"><a href="/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