Skip to content
This repository

The friendly code review system.

branch: innodb_switch

This branch is 2 commits ahead and 1212 commits behind master

Fetching latest commit…

Cannot retrieve the latest commit at this time

README.markdown

Overview

Coming soon!

Setting up Barkeep for development

This is how it works on our Mac OS dev laptops; YMMV:

$ easy_install pip
$ pip install pygments
$ gem install bundler
$ bundle install
$ port install nodejs # or brew install node
  # Note: you may need to "port deactivate c-ares" before installing nodejs
$ curl http://npmjs.org/install.sh | sh # install npm
$ npm install less
$ mysqladmin5 -u root create barkeep  # create the 'barkeep' database
$ ruby run_migrations.rb # db migrations
$ redis-server  # run Redis
$ bin/rerun.sh # run the server

Then you should be able to navigate to navigate to http://localhost:4567/commits.

If you're running a Mac using Macports with rvm, ensure your ruby is compiled against the macports openssl library. Otherwise you will get segfaults when sending emails over SSL:

$ rvm install 1.9.2 --with-openssl-dir=/opt/local

Viewing Repositories

Once Barkeep is set up for development, look in config/environment.rb. By default, Barkeep will look in ~/barkeep_repos/, though you can change the REPOS_ROOT variable to adjust it.

Create the directory and use normal git clone to add repositories. Now Barkeep can see them!

Deployment

These packages will need to be installed on a linux server before a deploy will work. apt-get the following:

mysql-server
mysql-client
libmysqlclient-dev
sqlite3
libsqlite3-dev
openssl
libopenssl-ruby
libssl-dev
python-setuptools
redis-server

Also install:

pip
pygments
Something went wrong with that request. Please try again.