forked from latest update on github
254
Control self-hosted Hubot like a boss!
This project is not being actively maintained. If you are interested and willing to help with maintenance, please respond here: https://github.com/spajus/hubot-control/issues/16
rake db:migrateconfig.action_mailer.default_url_options in config/environments/* (optional)rails s, run daemonized with unicorn_rails -p <port> -D.#{Rails.root}/hubots and #{Rails.root}/scripts, or just #{Rails.root}[email protected] / hubot to log inHow to get Hubot on HipChat using Hubot Control on CentOS Linux
Automation and Monitoring with Hubot is available at Leanpub.
git clone [email protected]:spajus/hubot-control.git && cd hubot-control
heroku create --buildpack https://github.com/rtgibbons/heroku-buildpack-ruby-nodejs.git
git push heroku master
heroku config:add PATH=/app/node_modules/.bin:/app/bin:/app/vendor/bundle/ruby/2.0.0/bin:/usr/local/bin:/usr/bin:/bin
heroku run rake db:migrate
heroku open
Heroku support is still experimental, but you can find some helpful tips here.
Heroku demo: http://hubot-control-demo.herokuapp.com/ (usually broken due to periodic file system wipeouts, see issues/4)
Prerequisites:
Start a Postgres instance
docker run --name hubot-control-db -d -e DB_USER="docker" -e DB="hubot_control" -e PASS="docker" hackedu/postgresql
Create a data-only container to store Hubots
docker run --name hubot-control-data -v /usr/src/hubot-control/hubots busybox
Run database migrations
docker run --rm --link hubot-control-db:db -e RAILS_DB_USERNAME="docker" -e RAILS_DB_PASSWORD="docker" hackedu/hubot-control bundle exec rake db:migrate RAILS_ENV=production
Start Hubot Control
docker run --name hubot-control -d --link hubot-control-db:db --volumes-from hubot-control-data -e RAILS_DB_USERNAME="docker" -e RAILS_DB_PASSWORD="docker" -p 3000:3000 hackedu/hubot-control
Hubot Control will now be running on port 3000 of your system. Whenever you
create a hubot , you'll want to restart Hubot Control and publish their HTTP
ports (-p flag).
There's a few things to notice:
hubot-control-data
container. Do not delete this container unless you want to delete all of your
hubots.hubot-control
container.







git checkout -b my-new-feature)git commit -am 'Add some feature')git push origin my-new-feature)Content type
Image
Digest
Size
354.8 MB
Last updated
over 9 years ago
docker pull thegreekgeek/hubot-control