Skip to content

sue445/sebastian-badge

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
app
 
 
bin
 
 
 
 
db
 
 
doc
 
 
lib
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Sebastian-badge.info

Hosting embed Jenkins plugin badges

http://sebastian-badge.info/

Circle CI Coverage Status Code Climate

Setup

cp config/.env{.example,}
vi config/.env

bundle exec rake ar:create
bundle exec rake ar:migrate

bundle exec padrino start
# or
bundle exec foreman start

Testing

RACK_ENV=test bundle exec rake ar:create
RACK_ENV=test bundle exec rake ar:migrate
bundle exec rspec

Heroku

Setup

heroku addons:add heroku-postgresql:hobby-dev
heroku addons:add papertrail
heroku addons:add rollbar
heroku addons:add newrelic:wayne
heroku addons:add memcachier:dev
heroku addons:add scheduler
heroku addons:add pgbackups:auto-month
heroku config:add ROLLBAR_ACCESS_TOKEN=XXXXXXXXXXXXXXXX
heroku config:add NEW_RELIC_LICENSE_KEY=XXXXXXXXXXXXXXXX

Scheduler

register bundle exec rake sebastian:update_center to heroku scheduler

heroku-scheduler

Deploy your Heroku account

Deploy