mirror of https://github.com/statping/statping
Page:
Build and Test
Pages
API
AWS EC2
Badges
Build and Test
Bulk Import Services
Cloud Foundry
Commands
Config with .env File
Contributing
Development
Docker Compose
Docker
Environment Variables
Features
GraphQL
Heroku
Home
Issues and Solutions
Linux
Mac Linux Windows
Mac
Makefile
Mobile App
Notifier Events
Notifier Example
Notifiers
PGP Signature
Paid Hosting
Prometheus Exporter
SMTP Emailing
SSL
Sponsor Goal
Static Export
Static HTML Exporter
Terraform
Testing
Types of Monitoring
Windows
config.yml
services.yml
4
Build and Test
hunterlong edited this page 2020-04-11 16:41:30 -07:00
Table of Contents
Building from the Go Language source code is pretty easy if you already have Go installed. Clone this repo and cd
into it.
Git n' Go Get
git clone https://github.com/statping/statping.git
cd statup
go get -v
Install go.rice
Statping uses go.rice to compile HTML, JS, and CSS files into it's single binary output.
go get github.com/GeertJohan/go.rice
go get github.com/GeertJohan/go.rice/rice
Build Statping Binary
Statping uses go.rice to compile HTML, JS, and CSS files into it's single binary output.
rice embed-go
go build -o statup .
./statup version
Test Coverage
You can also test Statio on your localhost, but it does require a MySQL, and Postgres server to be accessible since testing does create/drop tables for multiple databases.
go test -v
Overview
Installation
Extras
Contact
Email: info@statping.com
Badges
Statping.com | Demo | Docker | Notifiers | API