Skip to content

dyweb/sundial

Repository files navigation

Sundial

Build Status Coverage Status

Open Source WakaTime Server

Getting Started

Main Dependencies

  • caicloud/nirvana Golang Restful API Framework for Productivity
  • jinzhu/gorm The fantastic ORM library for Golang, aims to be developer friendly

Building

dep ensure -s
make

Running

./bin/sundial

Debugging

First, we need to run the server, then we could use wakatime-cli to create a heartbeat:

python3 ./wakatime/wakatime/cli.py --file /home/ist/go/src/github.com/dyweb/sundial/pkg/apis/v1/descriptors/heartbeats.go  --alternate-project sundial --write --api-url http://localhost:8080/apis/v1/users/current/heartbeats --verbose

We could get the log from $HOME/.wakatime.log.

Versioning

The goal of v1 is to provide the MVP of Sundial, which supports projects, users and durations API.

Development Document

devel.md

Authors

Please see AUTHORS.md.