Giter Club home page Giter Club logo

slack_alert's Introduction

SlackAlert

Requirements

  1. ruby (2.2.2)
  2. bundler (1.0 or greater)
  3. postgres (9.1.0 or greater)

Installation

Clone this repository

git clone [email protected]:vigetlabs/slack_alert.git

Install Ruby gems

gem install bundler
bundle install

Install Postgres

Install Postgres if it's not already on your machine. If you're on OSX, we recommend using homebrew:

brew install postgres

Configure your database

cp config/database.yml.example config/database.yml

Edit config/database.yml to match the configuration for your PostgreSQL instance. Then, create and migrate the database

bundle exec rake db:create db:migrate

Configure application secrets

cp config/secrets.yml.example config/secrets.yml

Edit config/secrets.yml with the proper Slack API URL, which can be obtained from your Slack services integration settings. Don't forget to also update PARTICLE_API_KEY and PARTICLE_DEVICE_ID.

Running the SlackAlert App

rails server

Check that the app is running properly by opening http://localhost:3000 in your browser.

Deploying

Set up the heroku app like so:

heroku create your-app-name

Then push up your app and run migrations:

git push heroku master
heroku run rake db:migrate

slack_alert's People

Contributors

stopshinal avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

isabella232

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.