GithubHelp home page GithubHelp logo

darron / servicenarc Goto Github PK

View Code? Open in Web Editor NEW
5.0 2.0 0.0 300 KB

An idea that works like https://deadmanssnitch.com - but for more than just single servers.

License: Other

Ruby 99.83% JavaScript 0.17%

servicenarc's Introduction

Servicenarc

A small Padrino web app, built to have the same functionality as Dead Man's Snitch but to add the ability to have multiple nodes using the same snitch.

Their system is WAY nicer and much, more polished than this - but I don't want to have a snitch / node / cronjob. I want to have a snitch / cronjob and then show each node's status.

Requirements

Heroku w/Postgres
Redis

To deploy

Fork and clone this repo - then:

heroku create
heroku addons:add redistogo
git push heroku master
heroku run rake dm:migrate
heroku run rake seed
heroku addons:add sendgrid:starter
heroku config:set EMAIL_FROM="[email protected]"
heroku addons:add newrelic:standard
heroku config:add RACK_ENV=production
heroku config:add SERVICENARC_DOMAIN_NAME="put.your.domain.name.here"
heroku config:add SERVICENARC_SENDMAIL_TZ="MST"
heroku config:add SERVICENARC_SENDMAIL_TIME="7:45"
padrino rake secret
heroku config:add SESSION_SECRET="output-of-previous-command"
heroku open

One that's done:

  1. Browse to /admin/ - enter the username and password you entered during the seed stage.
  2. Create your first "Service"
  3. Browse to /admin/services/show/1 - look at the curl command at the bottom of the page.
  4. Use that curl command on all of your servers with a unique node name for each.

TODO

All logged in issues.

Patches are welcome - send a pull request and I'll gladly look at it.

servicenarc's People

Contributors

darron avatar

Stargazers

Eric Dahl avatar Mathias Bartmann avatar Paul Nendick avatar  avatar Steven Reid avatar

Watchers

James Cloos avatar  avatar

servicenarc's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.