var com = require('../../com.part') var page = require('../../page.part') module.exports = () => page({ title: 'Install the database', section: 'docs', tab: 'docs-basics', path :'/docs/basics/install-the-database.html', content: module.exports.content() }) // put content in a separate function so that index.html can reuse it module.exports.content = () => `

Install the database

${ com.code({ bash: `npm install -g scuttlebot` }) }

Install the database to your device, not to a host. Each user runs their own Scuttlebot.

Start the server

${ com.code({ bash: `sbot server` }) }
Scuttlebot server must be running for any of its other commands, or apps, to work.

Next:

Applications

Choose a UI for Scuttlebot.

Read more

Learn about the API.

`