Welcome to the exciting world of
What is GiddyUp?
GiddyUp is the visual scorecard for riak_test. GiddyUp provides two services, seeding
riak_test with the list of tests which should be run for each platform, and receiving tests results and logs via a REST interface.
Bootstrapping and Configuration
You'll need postgres to get this working locally. Here's how!
- Install Postgres. e.g.
brew install postgresql
- Initialize Postgres
initdb /usr/local/var/postgres -E utf8
- Start Postgres:
pg_ctl -D /usr/local/var/postgres -l /usr/local/var/postgres/server.log start
- Create your dev database
- Test it out:
psql -h localhost giddyup_dev
Also, install this: get the heroku-toolbelt
Here's how you get it running
- Create a
.envfile with the following environment variables:
- Migrate your database using
foreman run rake db:migrate
- Seed your database with the default set of tests, platforms and
backend combinations using
foreman run rake db:seed
- Start your application with
Want to add a new migration? try
bundle exec rake db:new_migration[MigrationName]!
Fun Fact: zsh hates 's. try adding
setopt nonomatch to your .zshrc to make it love them, unless you are the yesnomatch type, in which case, run
noglob bundle exec rake db:new_migration[MigrationName]. Don't say I did't warn you.