-
Notifications
You must be signed in to change notification settings - Fork 7
Home
carolyncole edited this page Apr 17, 2019
·
1 revision
Welcome to the marc_liberation wiki!
-
Install dependencies (if needed)
brew install mysql export LIBRARY_PATH=$LIBRARY_PATH:/usr/local/opt/openssl/lib/ mkdir -p ~/Library/LaunchAgents ln -sfv /usr/local/opt/mysql/*.plist ~/Library/LaunchAgents brew services start mysql brew tap homebrew/cask brew cask install phantomjs brew install redis brew services start redis
-
Oct8 installation from Readme For this step you need to download files from Oracle and have them in your Downloads directory when you try running the brew install steps below it will then indicate exactly where to move the files
brew tap InstantClientTap/instantclient brew install instantclient-basic # fails but gives you mv location mv ~/Downloads/instantclient-basic-macos.x64-18.1.0.0.0.zip <location from brew step> brew install instantclient-basic brew install instantclient-sdk #fails but gives you mv location mv ~/Downloads/instantclient-sdk-macos.x64-18.1.0.0.0-2.zip <location from brew step> brew install instantclient-sdk brew install instantclient-sqlplus #fails but gives you mv location mv ~/Downloads/instantclient-sqlplus-macos.x64-18.1.0.0.0.zip <location from brew step> brew install instantclient-sqlplus
-
clone the repo
git clone ... cd marc_liberation
-
Bundle if mysql2 bundle fails make sure you have added openssl to your LIBRARY_PATH as described in dependencies
bundle install
-
Create the database
rake db:create db:migrate rake db:seed
-
Setup fixtures
cp -v marc_to_solr/translation_maps/location_display.rb.tmpl marc_to_solr/translation_maps/location_display.rb cp -v marc_to_solr/translation_maps/locations.rb.tmpl marc_to_solr/translation_maps/locations.rb cp -v marc_to_solr/translation_maps/holding_library.rb.tmpl marc_to_solr/translation_maps/holding_library.rb
-
Run the tests
rake spec
-
Congratulations! You are now ready to configure voyager and run