aha-stagingbot is a Slack bot to track staging environments
- Clone the repository (
git clone git@github.com:Bernie-2016/text-for-bernie-api.git
) - Install gem dependencies:
bundle install
psql -h localhost
; inside pg, runcreate database aha_stagingbot
,\c aha_stagingbot
, and
CREATE TABLE servers (
id serial PRIMARY KEY,
name varchar (50) NOT NULL,
claimed boolean,
claimed_by varchar (50),
claimed_at timestamp without time zone,
claimed_for varchar(250)
);
- Create
.env
with SLACK_API_TOKEN and DATABASE_URL - Run
foreman start
and start interacting with your Slackbot!
- Fork it ( https://github.com/aha-app/aha-stagingbot/fork )
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin my-new-feature)
- Create a new Pull Request