agundy / canary-server

Server backend powering Canary

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Canary-Server

Canary server is the Go backend for Canary, an ambient monitoring solution.

Test Status

Build Status

Getting Started

Requires Go and Postgresql installed.

Once go is installed you can run

Run the following commands in a PostgreSQL shell

CREATE USER gorm WITH PASSWoRD 'mypassword';
CREATE DATABASE canary.db;

To build the Go application run:

go get ./...
go build
./canary-server

Testing

Testing the project is as easy as running:

go test ./...

Or to just test models:

go test ./models

To test just user or project model tests:

go test ./models -run 'User' 
go test ./models -run 'Project' 

About

Server backend powering Canary


Languages

Language:Go 99.6%Language:Shell 0.4%