mirror of
https://github.com/dnote/dnote
synced 2026-03-14 22:45:50 +01:00
1.2 KiB
1.2 KiB
Contributing to Dnote
This repository contains the server side and the client side code for Dnote.
Set up
- Download and setup the Go programming language.
- Download the project
go get github.com/dnote/dnote
CLI
Set up
Download dependencies using dep.
dep ensure
Test
Run:
./cli/scripts/test.sh
Debug
Run Dnote with DNOTE_DEBUG=1 to print debugging statements.
Release
- Build for all target platforms, tag, push tags
- Release on GitHub and Dnote Homebrew tap.
VERSION=0.4.8 make release
- Build, without releasing, for all target platforms
VERSION=0.4.8 make
Note
- If a release is not stable,
- disable the homebrew release by commenting out relevant code in the release script.
- mark release as pre-release on GitHub release
Web
Set up
Download dependencies using dep and npm.
dep ensure
npm install
Test
Run:
npm run test
Server
Set up
Download dependencies using dep.
dep ensure
Test
Run:
./server/api/scripts/test-local.sh