mirror of https://github.com/statping/statping
Page:
Makefile
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
7
Makefile
Hunter Long edited this page 2020-05-01 16:02:46 -07:00
Table of Contents
Here's a simple list of Makefile commands you can run using make
. The Makefile may change often, so i'll try to keep this Wiki up-to-date.
Useful Commands
make clean
- Cleans the Statping directory for a fresh startmake test-deps
- Installs required golang libraries for compiling and building
Building
make build
- Build the golang Statping binary for native OSmake compile
- Compiles the production frontend Vuemake build-all
- Cleans, compiles, and builds all binariesmake build-linux
- Builds Linux binariesmake build-mac
- Builds MacOSX binariesmake build-win
- Builds Windows binaries
Testing
make test
- Cleans, compiles and runs golang unit testingmake test-api
- Test postman API endpointsmake test-cli
- Test that run on Github Actions usingsqlite
Docker
make docker-latest
- Builds thebase
andlatest
Statping imagesmake start
- Run the entire Statping stack with multiple databases and Grafanamake stop
- Stop the entire Statping stackmake lite
- Run a lite Statping stack that includes Postgres
Required System Libraries
- Ubuntu
apt-get install build-essential
- MacOSX
sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer
- Windows Install Guide for GNU make utility
- CentOS/RedHat
yum groupinstall "Development Tools"
Overview
Installation
Extras
Contact
Email: info@statping.com
Badges
Statping.com | Demo | Docker | Notifiers | API