Giter VIP home page Giter VIP logo

alive's Introduction

alive

A Deployable Service™ that runs scheduled assertions on fetched HTTP content.

Build Status
Circle CI

#Direct Usage

  • Fork bnorton/alive from GitHub to {{username}}
  • Rename all instances of {{username}} with yours
  • Create a heroku app with the multi buildpack (to support both the ruby and phantomjs buildpacks)
git clone [email protected]:{{username}}/alive.git
heroku create {{username}}-alive --buildpack https://github.com/ddollar/heroku-buildpack-multi.git

Required:

  • Add a MongoDB database => heroku addons:create mongohq
  • Add a username and password for the new mongo database
  • Add a Redis database => heroku addons:create heroku-redis:hobby-dev

Optional:

  • Add a SendGrid account => heroku addons:create sendgrid:starter
  • Add a new Incoming WebHook integration to Slack and add the SLACK_URL and the SLACK_CHANNEL to the heroku config
  • Add a Bugsnag account => heroku addons:create bugsnag
heroku config # and grab your mongodb url
heroku config:set RAILS_ENV=production \
  RACK_ENV=production \
  MONGODB_URL={{mongodb url}} \
  REDIS_URL={{redis url}} \
  SECRET_KEY_BASE=$(rake secret) \
  SLACK_URL={{slack url}} \
  SLACK_CHANNEL={{slack channel}} \
  BUILDPACK_URL=https://github.com/ddollar/heroku-buildpack-multi.git
  • Deploy your first version with git push heroku master
  • If setting up CircleCI with heroku deployment modify circle.yml to have your app-name

Making Customizations (+ pull request)

To run the RSpec / Capybara tests you'll need:

  • phantomjs installed
  • bundle install (maybe gem install bundler first)
  • rake runs the existing test suite
  • Add tests
  • Run tests
  • Add implementation
  • Run tests
  • Commit / Push / Pull request

Reporting Complex Issues

  • Isolate the problem logically
  • Isolate the problem with a failing test

alive's People

Contributors

bnorton avatar itslenny avatar

Watchers

 avatar

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.