-
Notifications
You must be signed in to change notification settings - Fork 11
Dev Env Notes
Greg Kostin edited this page Jan 25, 2017
·
13 revisions
git remote add upstream https://github.com/mlibrary/umrdr.git
Running in development mode:
bundle install --without production --path=.bundle
(Useful when gems like ClamAV is added in production block)
cd ~/umrdr/config
cp database.yml.sample database.yml
cp ezid.yml.sample ezid.yml
cp mcommunity.yml.sample mcommunity.yml
cp redis.yml.sample redis.yml
cp secrets.yml.sample secrets.yml
cp blacklight.yml.sample blacklight.yml
cp solr.yml.sample solr.yml
cd ~/umrdr
bundle exec rake db:migrate
Running locally (http://localhost:3000/)
run servers in separate tabs:
bundle exec fcrepo_wrapper -p 8984
bundle exec solr_wrapper -d solr/config/ --collection_name hydra-development
redis-server
bundle exec rails server
run servers in separate tabs:
bundle exec fcrepo_wrapper -p 8986
bundle exec solr_wrapper -p 8985 -d solr/config/ --collection_name hydra-test