Please see the doc for more.
- Install Docker.
- Install Docker Compose plugin.
- Create a
compose.ymlfile with the following content:
services:
dnote:
image: dnote/dnote:latest
container_name: dnote
ports:
- 3001:3001
volumes:
- ./dnote_data:/data
restart: unless-stopped- Run the following to download the image and start the container
docker compose up -d
Visit http://localhost:3001 in your browser to see Dnote running.
Download from releases, extract, and run:
tar -xzf dnote-server-$version-$os.tar.gz
mv ./dnote-server /usr/local/bin
dnote-server start --baseUrl=https://your.serverYou're up and running. Database: ~/.local/share/dnote/server.db (customize with --dbPath). Run dnote-server start --help for options.
Set apiEndpoint: https://your.server/api in ~/.config/dnote/dnoterc to connect your CLI to the server.