jam-cloud/README

36 lines
1.1 KiB
Plaintext

jam-db
======
Schema migrations for the jam-db database
Overview
--------
jam-db defines the migrations that comprise the jam-db database.
Environment
-----------
* [rvm](https://rvm.io/) with ruby 1.9.3 installed and activated. rvm needs to be activated in your shell (the installation process does this)
* bash . If on windows, use git bash or cygwin. Bash is used as the build script technology. (could change very easily)
* NOT YET: $IVY defined as path to the [apache ivy jar](http://ant.apache.org/ivy/download.cgi). Download the latest ivy from here, extract somewhere, and create an IVY environment variable with a path to the ivy.jar. For example, in my bash.profile: `export IVY=/Users/seth/workspace/apache-ivy-2.3.0-rc1/ivy-2.3.0-rc1.jar`
Building
--------
# one-time: ff you just installed rvm, cd into this project's base directory. rvm will ask you to trust the .rvmrc. Do so.
# type ./build
Using
-----
In a ruby project, create in your gemfile something like:
`
https 'https://rubygems.org'
gem 'jam_db', :path => '~/workspace/jam-db/target/ruby_package'
`