Skip to content

Commit

Permalink
Updated README with async information
Browse files Browse the repository at this point in the history
  • Loading branch information
juwon-k committed Dec 4, 2017
1 parent eea6ada commit 5c8e53a
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,19 @@ See the [Wiki](https://github.com/saasbook/coursequestionbank/wiki).

## Running or Testing Locally

You need to run a Solr process during local development (or Cloud9 for those who used it). So `bundle exec sunspot-solr start -p 8983` to start and `bundle exec sunspot-solr stop` to stop (basically the steps in `.travis.yml`). And the config in `sunspot.yml` should enable the app to connect properly.
You need to run a Solr process during local development (or Cloud9 for those who used it). So after cloning the repository, run:
`git fetch --all`
`git checkout fall2017_features`
`bundle install --without production`
Now, on two new terminals, run `redis-server` and `bundle exec sidekiq -q high` respectively.
Returning to the first terminal, run:
`rake all`
`rake features`
`rake spec`
`rake run`
to start the application. To see your application running on Cloud 9, run:
`rails s -b $IP -p $PORT`
To stop the application, run `bundle exec sunspot-solr stop` (basically the steps in `.travis.yml`). And the config in `sunspot.yml` should enable the app to connect properly.

When running locally, you can click the "Dev Login" button and login as either `saas` (Instructor privilege) or `saas-admin` (Admin privilege) with no password needed.

Expand Down

0 comments on commit 5c8e53a

Please sign in to comment.