Getting Started

1. Create a new demo database #

Docker #

Create a Docker container and set some options

$ mkdir data
$ docker run -i -t --rm --name nervatura \
  -p 5000:5000 -v "$(pwd)"/data:/data nervatura/nervatura:latest

In a new command window:

$ docker exec -i nervatura /nervatura \
  -c DatabaseCreate -k DEMO_API_KEY \
  -o "{\"database\":\"demo\",\"demo\":true}"

Snap #

  NT_ALIAS_DEMO="sqlite://file:/var/snap/nervatura/common/demo.db?cache=shared&mode=rwc" \
  /snap/nervatura/current/nervatura -c DatabaseCreate \
  -k DEMO_API_KEY -o "{\"database\":\"demo\",\"demo\":true}"

Windows #

Open a PowerShell and set the (temporary) variables:


Launch nervatura CLI (in the same command window!), and create a database:

& "C:\Program Files\Nervatura\nervatura.exe" -c DatabaseCreate -k DEMO_API_KEY -o '{\"database\":\"demo\",\"demo\":true}'

Default Nervatura data directory: C:/ProgramData/Nervatura

Launch nervatura server (in the same command window or Start menu):

& "C:\Program Files\Nervatura\nervatura.exe"

Of course, the environment variables can also be set permanently (see more SystemPropertiesAdvanced.exe). In this case, the server can be started from anywhere.

Alternatively, the settings can be specified in the parameter:

& "C:\Program Files\Nervatura\nervatura.exe" -env C:\ProgramData\Nervatura\.env.example


See Node.js Examples

Admin GUI #

You can use the ADMIN GUI Database section:

Alias name: demo
Demo database: true

2. Login to the database: #

Nervatura Client

Username: admin
Password: Empty password: Please change after the first login!
Database: demo