mirror of https://github.com/statping/statping
Page:
Development
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
2
Development
Hunter Long edited this page 2020-05-01 07:04:37 -07:00
Table of Contents
Useful Codebase
-
handlers/routes.go - Contains all the HTTP request routes
-
cmd/commands.go - CLI Commands
-
types/service/struct.go - Service struct
-
types/core/struct.go - Core struct
Deployment Process
Statping is a pretty cool server for monitoring your services. The way we deploy might be a little cooler though. Statping is using the most bleeding edge technology to release updates and distribute binary files automatically.
- Source code commits get pushed to Github
- go.rice will compile all the static assets into 1 file (rice-box.go in source)
- SASS will generate a compiled version of the CSS.
- Statping Help page is generated by cloning the Wiki repo using
go generate
. - Travis-CI tests the Golang application.
- Travis-CI tests the Statping API using Postman.
- If all tests are successful, Travis-CI will compile the binaries using xgo.
- Binaries are code signed using the official PGP key and compressed.
- Docker receives a trigger to build for the
latest
tag. - Travis-CI uploads the latest release as a tagged version on Github.
- Travis-CI updates the homebrew-statping repo with the latest version.
And that's it! Statping is ready to be shipped and installed.
Overview
Installation
Extras
Contact
Email: info@statping.com
Badges
Statping.com | Demo | Docker | Notifiers | API