Skip to content

Running Barkeep locally

Caleb Spare edited this page Apr 30, 2012 · 6 revisions

Make sure you're up to date on Ruby gems (bundle install) and on migrations (ruby script/run_migrations.rb).

$ bin/run_app.bash # run the server
# navigate to localhost:8040

These are somewhat optional services to run while developing. These background jobs periodically fetch new commits, pre-generate commit diffs, and send emails when comments are posted.

$ redis-server # run Redis
$ script/run_clockwork.rb # run periodic cron jobs
$ rake resque:start # start processing any jobs which get added to the Resque queue.

If you want to run all three services together, you can do so using foreman.

$ bundle exec foreman start

You can view the Resque dashboard and inspect failed Resque jobs by navigating to http://localhost:8040/resque.

Next: Viewing-repositories

Clone this wiki locally