OpenKit Server
Ruby CSS JavaScript Shell Objective-C
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
clients/ruby Bump openkit client gem Jan 16, 2014
provisioning Medium and large instances boot m3 generation Jan 27, 2014
.gitignore Add bin/rails start to README Mar 8, 2014
system.yml.example Handling dependency construction for booting instances: Jan 22, 2014

Running Locally (Instructions for OS X)

This guide assumes that you can work your way around a command line. Specific instructions are written for bash (the default shell on OS X), but should be easy to apply to other shells too.

Make sure /usr/local/bin and /usr/local/sbin are in your PATH ahead of /usr/bin. You can check with echo $PATH. If they are not, add this line to ~/.bash_profile:

export PATH="/usr/local/bin:/usr/local/sbin:~/bin:$PATH"

Next, install homebrew, if you haven't already.

Add this to ~/.bash_profile:

# Add gem binaries to path. (See 'brew info ruby')
export PATH=$(brew --prefix ruby)/bin:$PATH

System dependencies:

brew update
brew upgrade ruby redis mysql libxml2
gem pristine --all --only-executables

Prepare rails project:

git clone
cd openkit-server/dashboard
bundle install
bin/rake setup:prereqs
bin/rake db:setup
bin/rails start


bin/rake db:test:prepare
bin/rake test

Testing with Zeus:

bin/rake db:test:prepare
gem install zeus
zeus start
zeus t

For running api_tester:

rake setup:api_test_app