A rails engine which integrates with Identity to facilitate bi-direction data flow between Identity and Tijuana.
Created and maintained by GetUp!
Current stable version is [0.1.0]
These instructions should get you up and running with Identity Tijuana gem locally for development and testing.
When developing this engine alongside Identity you'll need to reference where to find the local repository to identity bundler.
- From within the host identity app 
cd /path/to/identity - Setup bundle reference to the local repo 
bundle config --local local.identity_tijuana /path/to/identity_tijuana - When you're done unset 
bundle config --delete local.identity_tijuana 
OSX:
- You can use Postgres.app (which is simpler to upgrade than a homebrew install). Note: this allows you to connect to Postgres locally without an empty username and password.
 
Linux:
sudo apt-get install postgresql libpq-devsudo -u postgres psql -c "create role username with SUPERUSER login password 'password'", replacingusernameandpasswordwith the ones you want to use for the app.
Install the version of Ruby referenced in the Gemfile using a version manager/installer like chruby and ruby-install
These commands assume you're in the project directory, and have the right version of ruby in your path.
- Checkout the project from git
 - Install bundler: 
gem install bundler - Install project dependencies: 
bundle install - Copy 
.env.development.sampleto.env.development, and populate the required settings 
- Copy 
spec/test_identity_app/.env.test.sampletospec/test_identity_app/.env.test, and update theDATABASE_URL - Create a test database: 
createdb identity_tijuana_test_host; RAILS_ENV=test bundle exec rake db:migrate bundle exec rspecruns all the tests