openstax / exchange

OpenStax Exchange

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

OpenStax Exchange

Build Status Code Climate Coverage Status

OpenStax Exchange stores and provides learner interaction "big data".

Development Setup

In development, Exchange can be run as a normal Rails app on your machine. It uses binstubs.

Running as a normal Rails app on your machine

To start running Exchange in a development environment, clone the repository, then

bundle install --without production

Just like with any Rails app, you then need to migrate the database. In our case, after the first migration we also need to load the database seeds (placeholder terms of use, etc, that the code relies on):

You may need to prefix your commands with RAILS_ENV=development

bin/rake db:migrate
bin/rake db:seed

or in one step

bin/rake db:setup

When you run

bin/rails server

Exchange will start up on port 3003, i.e. http://localhost:3003.

About

OpenStax Exchange

License:Other


Languages

Language:Ruby 87.2%Language:HTML 7.2%Language:CSS 4.3%Language:CoffeeScript 0.8%Language:JavaScript 0.5%