diff --git a/API.md b/API.md index 2adaef9..2954d34 100644 --- a/API.md +++ b/API.md @@ -1,7 +1,7 @@ Statping includes a RESTFUL API so you can view, update, and edit your services with easy to use routes. You can currently view, update and delete services, view, create, update users, and get detailed information about the Statping instance. To make life easy, try out a Postman or Swagger JSON file and use it on your Statping Server.
-Postman | Postman JSON Export | Swagger Export +Postman | Postman JSON Export | Swagger Export
## Authentication @@ -19,21 +19,21 @@ The services API endpoint will show you detailed information about services and ### Viewing All Services - Endpoint: `/api/services` - Method: `GET` -- Response: Array of [Services](https://github.com/hunterlong/statping/wiki/API#service-response) +- Response: Array of [Services](https://github.com/statping/statping/wiki/API#service-response) - Response Type: `application/json` - Request Type: `application/json` ### Viewing Service - Endpoint: `/api/services/{id}` - Method: `GET` -- Response: [Service](https://github.com/hunterlong/statping/wiki/API#service-response) +- Response: [Service](https://github.com/statping/statping/wiki/API#service-response) - Response Type: `application/json` - Request Type: `application/json` ### Updating Service - Endpoint: `/api/services/{id}` - Method: `POST` -- Response: [Service](https://github.com/hunterlong/statping/wiki/API#service-response) +- Response: [Service](https://github.com/statping/statping/wiki/API#service-response) - Response Type: `application/json` - Request Type: `application/json` @@ -57,7 +57,7 @@ POST Data: ### Create New Service - Endpoint: `/api/services` - Method: `POST` -- Response: [Service](https://github.com/hunterlong/statping/wiki/API#service-response) +- Response: [Service](https://github.com/statping/statping/wiki/API#service-response) - Response Type: `application/json` - Request Type: `application/json` @@ -81,7 +81,7 @@ POST Data: ### Deleting Service - Endpoint: `/api/services/{id}` - Method: `DELETE` -- Response: [Object Response](https://github.com/hunterlong/statping/wiki/API#object-response) +- Response: [Object Response](https://github.com/statping/statping/wiki/API#object-response) - Response Type: `application/json` - Request Type: `application/json` @@ -101,21 +101,21 @@ The users API endpoint will show you users that are registered inside your Statp ### View All Users - Endpoint: `/api/users` - Method: `GET` -- Response: Array of [Users](https://github.com/hunterlong/statping/wiki/API#user-response) +- Response: Array of [Users](https://github.com/statping/statping/wiki/API#user-response) - Response Type: `application/json` - Request Type: `application/json` ### Viewing User - Endpoint: `/api/users/{id}` - Method: `GET` -- Response: [User](https://github.com/hunterlong/statping/wiki/API#user-response) +- Response: [User](https://github.com/statping/statping/wiki/API#user-response) - Response Type: `application/json` - Request Type: `application/json` ### Creating New User - Endpoint: `/api/users` - Method: `POST` -- Response: [User](https://github.com/hunterlong/statping/wiki/API#user-response) +- Response: [User](https://github.com/statping/statping/wiki/API#user-response) - Response Type: `application/json` - Request Type: `application/json` @@ -132,7 +132,7 @@ POST Data: ### Updating User - Endpoint: `/api/users/{id}` - Method: `POST` -- Response: [User](https://github.com/hunterlong/statping/wiki/API#user-response) +- Response: [User](https://github.com/statping/statping/wiki/API#user-response) - Response Type: `application/json` - Request Type: `application/json` @@ -149,7 +149,7 @@ POST Data: ### Deleting User - Endpoint: `/api/services/{id}` - Method: `DELETE` -- Response: [Object Response](https://github.com/hunterlong/statping/wiki/API#object-response) +- Response: [Object Response](https://github.com/statping/statping/wiki/API#object-response) - Response Type: `application/json` - Request Type: `application/json` diff --git a/AWS-EC2.md b/AWS-EC2.md index 9b137c3..1e243ba 100644 --- a/AWS-EC2.md +++ b/AWS-EC2.md @@ -11,8 +11,8 @@ Choose the correct AMI Image ID based on your AWS region. # Upgrading Statping You can upgrade the Statping executable by running the commands below on your EC2 instance. ``` -VERSION=$(curl -s "https://github.com/hunterlong/statping/releases/latest" | grep -o 'tag/[v.0-9]*' | awk -F/ '{print $2}') -wget https://github.com/hunterlong/statping/releases/download/$VERSION/statping-linux-x64.tar.gz +VERSION=$(curl -s "https://github.com/statping/statping/releases/latest" | grep -o 'tag/[v.0-9]*' | awk -F/ '{print $2}') +wget https://github.com/statping/statping/releases/download/$VERSION/statping-linux-x64.tar.gz tar -xvzf statping-linux-x64.tar.gz chmod +x statping mv statping /usr/local/bin/statping diff --git a/Build-and-Test.md b/Build-and-Test.md index 26a6726..b157cf4 100644 --- a/Build-and-Test.md +++ b/Build-and-Test.md @@ -2,7 +2,7 @@ Building from the Go Language source code is pretty easy if you already have Go ### Git n' Go Get ```bash -git clone https://github.com/hunterlong/statping.git +git clone https://github.com/statping/statping.git cd statup go get -v ``` @@ -26,4 +26,4 @@ go build -o statup . 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 -``` \ No newline at end of file +``` diff --git a/Bulk-Import-Services.md b/Bulk-Import-Services.md index 78e6f6f..94e6ba5 100644 --- a/Bulk-Import-Services.md +++ b/Bulk-Import-Services.md @@ -1,4 +1,4 @@ -You can import multiple services based on a CSV file with the format below. You can view an example CSV file at [source/tmpl/bulk_import.csv](https://github.com/hunterlong/statping/blob/master/source/tmpl/bulk_import.csv). Visit the Statping Settings page and scroll to the bottom to upload your CSV file and import multiple services with ease! +You can import multiple services based on a CSV file with the format below. You can view an example CSV file at [source/tmpl/bulk_import.csv](https://github.com/statping/statping/blob/master/source/tmpl/bulk_import.csv). Visit the Statping Settings page and scroll to the bottom to upload your CSV file and import multiple services with ease! You can also download the example CSV file with the [Statping - Bulk Import Services](https://docs.google.com/spreadsheets/d/1vcWM1ecyVFyCrQ-cmNAs5I52B9vq8wzWOw5jvpmUcJI/edit?usp=sharing) link. diff --git a/Cloud-Foundry.md b/Cloud-Foundry.md index c152c15..922250f 100644 --- a/Cloud-Foundry.md +++ b/Cloud-Foundry.md @@ -5,7 +5,7 @@ brew install cloudfoundry/tap/cf-cli ``` ### Statping Yaml Config -You can include multiple environment variables to the configg file. If you include `DB_CONN` Statping will attempt to automatically connect to that database. View the [Full List of Environment Variables](https://github.com/hunterlong/statping/wiki/Config-with-.env-File) to fully customize this config. +You can include multiple environment variables to the configg file. If you include `DB_CONN` Statping will attempt to automatically connect to that database. View the [Full List of Environment Variables](https://github.com/statping/statping/wiki/Config-with-.env-File) to fully customize this config. ```yaml applications: - name: statping @@ -38,4 +38,4 @@ Then you can run a command like: cf push --var version=v0.80.53 --var env='DB_CONN: sqlite' ``` -Thank you [@giner](https://github.com/giner) for creating this documentation. \ No newline at end of file +Thank you [@giner](https://github.com/giner) for creating this documentation. diff --git a/Contributing.md b/Contributing.md index 3e5cc82..3414e43 100644 --- a/Contributing.md +++ b/Contributing.md @@ -6,7 +6,7 @@ auto-include many customized parameters to get everything working correctly. # Dependencies Statping has a couple of required dependencies when testing and compiling the -binary. The [Makefile](https://github.com/hunterlong/statping/blob/master/Makefile) +binary. The [Makefile](https://github.com/statping/statping/blob/master/Makefile) will make these tasks a lot easier. Take a look at the Makefile to see what commands are running. Run the command below to get setup right away. @@ -96,7 +96,7 @@ Please remember to also add the Changelog Entry to describe what you have changed by using[changelog-go](https://gitlab.com/l0nax/changelog-go). If your PR is related to an Issue (ie. on a bug fix or when adding a new notifier) -don't forget adding the related GitHub Issue ID like this: `[#270](https://github.com/hunterlong/statping/issues/270)` +don't forget adding the related GitHub Issue ID like this: `[#270](https://github.com/statping/statping/issues/270)` Check out the example below. Adding _one_ changelog entry should be done in a separate Commit - not only because this is a good Committing practice, also because it's separated by your @@ -108,7 +108,7 @@ where all changes of a new Version are documented. ###### Example for fixing a bug in the UI ```bash -~] changelog new "Fix zooming out on graph doesn't load additional data ([#270](https://github.com/hunterlong/statping/issues/270))" +~] changelog new "Fix zooming out on graph doesn't load additional data ([#270](https://github.com/statping/statping/issues/270))" [0] New Feature (Added) [1] Bug Fix (Fixed) [2] Feature change (Changed) @@ -117,4 +117,4 @@ where all changes of a new Version are documented. [5] Security fix (Security) [6] Other (Other) >> 1 -``` \ No newline at end of file +``` diff --git a/Deployment.md b/Deployment.md index bc83668..ffcd3ca 100644 --- a/Deployment.md +++ b/Deployment.md @@ -5,11 +5,11 @@ Statping is a pretty cool server for monitoring your services. The way we deploy 3. SASS will generate a compiled version of the CSS. 4. Statping Help page is generated by cloning the Wiki repo using `go generate`. 5. Travis-CI tests the Golang application. -6. Travis-CI tests the Statping API using [Postman](https://github.com/hunterlong/statping/blob/master/source/tmpl/postman.json). +6. Travis-CI tests the Statping API using [Postman](https://github.com/statping/statping/blob/master/source/tmpl/postman.json). 7. If all tests are successful, Travis-CI will compile the binaries using [xgo](https://github.com/karalabe/xgo). -8. Binaries are code signed using the official [PGP key](https://github.com/hunterlong/statping/wiki/PGP-Signature) and compressed. +8. Binaries are code signed using the official [PGP key](https://github.com/statping/statping/wiki/PGP-Signature) and compressed. 9. [Docker](https://cloud.docker.com/repository/docker/hunterlong/statping/builds) receives a trigger to build for the `latest` tag. -10. Travis-CI uploads the [latest release](https://github.com/hunterlong/statping/releases) as a tagged version on Github. +10. Travis-CI uploads the [latest release](https://github.com/statping/statping/releases) as a tagged version on Github. 11. Travis-CI updates the [homebrew-statping](https://github.com/hunterlong/homebrew-statping) repo with the latest version. And that's it! Statping is ready to be shipped and installed. diff --git a/Docker-Compose.md b/Docker-Compose.md index 820670d..46fa6ce 100644 --- a/Docker-Compose.md +++ b/Docker-Compose.md @@ -1,4 +1,4 @@ -This page includes multiple docker-compose.yml setups for you to run. There are many environment variables for additional settings and features, checkout the [Environment Variables Wiki](https://github.com/hunterlong/statping/wiki/Environment-Variables) to see them all. +This page includes multiple docker-compose.yml setups for you to run. There are many environment variables for additional settings and features, checkout the [Environment Variables Wiki](https://github.com/statping/statping/wiki/Environment-Variables) to see them all. ### Database Configurations - [SQLite](#basic-sqlite-connection) @@ -181,7 +181,7 @@ nginx-ssl: ``` # Grafana Dashboard with Prometheus -Grafana is an awesome metric visualizer that allows you to create some awesome dashboards. We've already created a [Grafana Dashboard](https://grafana.com/grafana/dashboards/6950) that you can easy import! Checkout the [Grafana Wiki](https://github.com/hunterlong/statping/wiki/Prometheus-Exporter) and the [Prometheus Exporter Wiki](https://github.com/hunterlong/statping/wiki/Prometheus-Exporter) for more details. +Grafana is an awesome metric visualizer that allows you to create some awesome dashboards. We've already created a [Grafana Dashboard](https://grafana.com/grafana/dashboards/6950) that you can easy import! Checkout the [Grafana Wiki](https://github.com/statping/statping/wiki/Prometheus-Exporter) and the [Prometheus Exporter Wiki](https://github.com/statping/statping/wiki/Prometheus-Exporter) for more details. ##### `prometheus.yml` config file This file should be mounted to `/etc/prometheus/prometheus.yml` in the Prometheus container. @@ -242,4 +242,4 @@ grafana: - prometheus links: - prometheus -``` \ No newline at end of file +``` diff --git a/Docker.md b/Docker.md index 84134bd..81e040a 100644 --- a/Docker.md +++ b/Docker.md @@ -22,7 +22,7 @@ docker run -d \ ``` # Attach a SSL Certificate -When you mount `server.crt` and `server.key` to the `/app` directory, Statping will run a HTTPS server on port 443. Checkout the [SSL Wiki](https://github.com/hunterlong/statping/wiki/SSL) documentation to see more information about this. +When you mount `server.crt` and `server.key` to the `/app` directory, Statping will run a HTTPS server on port 443. Checkout the [SSL Wiki](https://github.com/statping/statping/wiki/SSL) documentation to see more information about this. ```bash docker run -d \ -p 443:443 \ @@ -219,4 +219,4 @@ networks: driver: bridge database: driver: bridge -``` \ No newline at end of file +``` diff --git a/Features.md b/Features.md index 04fa7b7..d105269 100644 --- a/Features.md +++ b/Features.md @@ -7,7 +7,7 @@ You can use MySQL, Postgres, or SQLite as a database for your Statping status pa Statping is an extremely easy to setup website monitoring tool without fussing with dependencies or packages. Simply download and install the precompile binary for your operating system. Statping works on Windows, Mac, Linux, Docker, and even the Raspberry Pi. # Plugins -Statping is an awesome Status Page generator that allows you to create your own plugins with Golang Plugins! You don't need to request a PR or even tell us about your plugin. Plugin's are compiled and then send as a binary to the Statping `/plugins` folder. Test your plugins using the `statup test plugin` command, checkout the [Plugin Wiki](https://github.com/hunterlong/statping/wiki/Statping-Plugins) to see detailed information about creating plugins. +Statping is an awesome Status Page generator that allows you to create your own plugins with Golang Plugins! You don't need to request a PR or even tell us about your plugin. Plugin's are compiled and then send as a binary to the Statping `/plugins` folder. Test your plugins using the `statup test plugin` command, checkout the [Plugin Wiki](https://github.com/statping/statping/wiki/Statping-Plugins) to see detailed information about creating plugins. # No Maintenance Many other website monitoring applications will collect data until the server fails because of hard drive is 100% full. Statping will automatically delete records to make sure your server will stay UP for years. The EC2 AMI Image is a great way to host your status page without worrying about it crashing one day. Statping will automatically upgrade its software when you reboot your computer. @@ -16,4 +16,4 @@ Many other website monitoring applications will collect data until the server fa Receive email notifications if your website or application goes offline. Statping includes SMTP connections so you can use AWS SES, or any other SMTP emailing service. Go in the Email Settings in Settings to configure these options. # Prometheus Exporter -If you want a deeper view of your applications status, you can use Grafana and Prometheus to graph all types of data about your services. Read more about the [Prometheus Exporter](https://github.com/hunterlong/statping/wiki/Prometheus-Exporter) \ No newline at end of file +If you want a deeper view of your applications status, you can use Grafana and Prometheus to graph all types of data about your services. Read more about the [Prometheus Exporter](https://github.com/statping/statping/wiki/Prometheus-Exporter) diff --git a/GraphQL.md b/GraphQL.md index ff63537..bf60ed7 100644 --- a/GraphQL.md +++ b/GraphQL.md @@ -1,7 +1,7 @@ Statping implements the [GraphQL](https://graphql.org/) API interface so you can customize the exact data you need within a query. The GraphQL endpoint is at `/graphql` on your Statping instance and is only available for Authenticated users or while sending the `Authorization` API Secret.-View schema.graphql +View schema.graphql
*** @@ -54,4 +54,4 @@ Retrieve the `id`, `name`, and `public` parameters from `service` #2. *** -The code for handling GraphQL requests is in [handlers/graphql](https://github.com/hunterlong/statping/tree/master/handlers/graphql) and is using [gqlgen](https://github.com/99designs/gqlgen) to automatically generate the schema based on the golang structs. \ No newline at end of file +The code for handling GraphQL requests is in [handlers/graphql](https://github.com/statping/statping/tree/master/handlers/graphql) and is using [gqlgen](https://github.com/99designs/gqlgen) to automatically generate the schema based on the golang structs. diff --git a/Heroku.md b/Heroku.md index cf76cc3..cc9bc45 100644 --- a/Heroku.md +++ b/Heroku.md @@ -1,6 +1,6 @@ You can now instantly deploy your Statping instance on a free Heroku container. Simply click the deploy button below and get up in running within seconds. This Heroku deployment is based on the Statping Docker image so you will have all the great features including SASS and all the notifiers without any setup. -[](https://heroku.com/deploy?template=https://github.com/hunterlong/statping/tree/master) +[](https://heroku.com/deploy?template=https://github.com/statping/statping/tree/master) View the live Heroku Statping instance at: [https://statping.herokuapp.com](https://statping.herokuapp.com) diff --git a/Linux.md b/Linux.md index a345029..a9146ae 100644 --- a/Linux.md +++ b/Linux.md @@ -51,11 +51,11 @@ systemctl start statping You're Statping server will now automatically restart when your server restarts. ## Raspberry Pi -You can even run Statping on your Raspberry Pi by installing the precompiled binary from [Latest Releases](https://github.com/hunterlong/statping/releases/latest). For the Raspberry Pi 3 you'll want to download the `statping-linux-arm7.tar.gz` file. Be sure to change `VERSION` to the latest version in Releases, and include the 'v'. +You can even run Statping on your Raspberry Pi by installing the precompiled binary from [Latest Releases](https://github.com/statping/statping/releases/latest). For the Raspberry Pi 3 you'll want to download the `statping-linux-arm7.tar.gz` file. Be sure to change `VERSION` to the latest version in Releases, and include the 'v'. ``` -VERSION=$(curl -sL "https://github.com/hunterlong/statping/releases/latest" | grep -o 'tag/[v.0-9]*' | awk -F/ '{print $2}' | head -n1) -wget https://github.com/hunterlong/statping/releases/download/$VERSION/statping-linux-arm7.tar.gz +VERSION=$(curl -sL "https://github.com/statping/statping/releases/latest" | grep -o 'tag/[v.0-9]*' | awk -F/ '{print $2}' | head -n1) +wget https://github.com/statping/statping/releases/download/$VERSION/statping-linux-arm7.tar.gz tar -xvzf statping-linux-arm7.tar.gz chmod +x statping mv statping /usr/local/bin/statping @@ -64,4 +64,4 @@ statping version ``` ## Alpine Linux -The Docker image is using the Statping Alpine binary since it's so incredibly small. You can run it on your own alpine image by downloading `statping-linux-alpine.tar.gz` from [Latest Releases](https://github.com/hunterlong/statping/releases/latest). \ No newline at end of file +The Docker image is using the Statping Alpine binary since it's so incredibly small. You can run it on your own alpine image by downloading `statping-linux-alpine.tar.gz` from [Latest Releases](https://github.com/statping/statping/releases/latest). diff --git a/Makefile.md b/Makefile.md index 29ad8f5..47d15ac 100644 --- a/Makefile.md +++ b/Makefile.md @@ -1,4 +1,4 @@ -Here's a simple list of Makefile commands you can run using `make`. The [Makefile](https://github.com/hunterlong/statping/blob/master/Makefile) may change often, so i'll try to keep this Wiki up-to-date. +Here's a simple list of Makefile commands you can run using `make`. The [Makefile](https://github.com/statping/statping/blob/master/Makefile) may change often, so i'll try to keep this Wiki up-to-date. - Ubuntu `apt-get install build-essential` - MacOSX `sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer` @@ -26,4 +26,4 @@ make clean make compress make cypress-install make cypress-test -``` \ No newline at end of file +``` diff --git a/Notifier-Example.md b/Notifier-Example.md index 1a0c201..23f8d16 100644 --- a/Notifier-Example.md +++ b/Notifier-Example.md @@ -6,8 +6,8 @@ package notifiers import ( "errors" "fmt" - "github.com/hunterlong/statping/types" - "github.com/hunterlong/statping/core/notifier" + "github.com/statping/statping/types" + "github.com/statping/statping/core/notifier" "time" ) diff --git a/Notifiers.md b/Notifiers.md index 17c8ec5..447b029 100644 --- a/Notifiers.md +++ b/Notifiers.md @@ -5,8 +5,8 @@ Statping includes multiple Notifiers to alert you when your services are offline. You can also create your own notifier and send a Push Request to this repo! Creating a custom notifier is pretty easy as long as you follow the requirements. A notifier will automatically be installed into the users Statping database, and form values will save without any hassles. 💃
-Example Code | Events | View Notifiers
-
+Example Code | Events | View Notifiers
+
-Statping.com | Demo | Docker | Notifiers | API -
\ No newline at end of file +Statping.com | Demo | Docker | Notifiers | API + diff --git a/_Sidebar.md b/_Sidebar.md index e009018..c243ce2 100644 --- a/_Sidebar.md +++ b/_Sidebar.md @@ -76,7 +76,7 @@ Email: `info@statping.com` Docker: [hunterlong/statping](https://cloud.docker.com/repository/docker/hunterlong/statping/builds) -[](https://godoc.org/github.com/hunterlong/statping) +[](https://godoc.org/github.com/statping/statping) [](https://travis-ci.com/hunterlong/statping) @@ -84,13 +84,13 @@ Docker: [hunterlong/statping](https://cloud.docker.com/repository/docker/hunterl [](https://codeclimate.com/github/hunterlong/statping/maintainability) -[](https://sourcegraph.com/github.com/hunterlong/statping) +[](https://sourcegraph.com/github.com/statping/statping) -[](https://github.com/hunterlong/statping/releases/latest) +[](https://github.com/statping/statping/releases/latest) [](https://hub.docker.com/r/hunterlong/statping/builds/) -[](https://goreportcard.com/report/github.com/hunterlong/statping) +[](https://goreportcard.com/report/github.com/statping/statping) [](https://coveralls.io/github/hunterlong/statping?branch=master) @@ -108,4 +108,4 @@ Docker: [hunterlong/statping](https://cloud.docker.com/repository/docker/hunterl