-
Notifications
You must be signed in to change notification settings - Fork 1
Running Hyrax in development
You can Run (Start and stop) each of the services individually.
Recommend using screen to run all of the services in development mode interactively
To start Fedora from the console (using the Fedora packaged with Hyrax)
cd ~/data2paper
fcrepo_wrapper
Note: If the application has Fedora 4 Installed and integrated, you do not need to start Fedora 4 in screen
To start Fedora from the console (using the Fedora packaged with Hyrax) for test environment
fcrepo_wrapper -v --config config/fcrepo_wrapper_test.yml
To start Solr from the console (using the Solr packaged with Hyrax)
cd ~/data2paper
solr_wrapper
Note: If the application has Solr Installed and integrated, you do not need to start Solr in screen
To start Solr from the console (using the Solr packaged with Hyrax) for test environment
solr_wrapper -v --config config/solr_wrapper_test.yml
To start the rails server from the console
cd ~/data2paper
bundle exec rails s
To bind the server to 127.0.0.1 and pass in the environment
RAILS_ENV=development bundle exec rails server -b 127.0.0.1
If using unicorn rails
RAILS_ENV=development bundle exec unicorn -p 3000 -o 127.0.0.1
Note: If the application is configured for Running Rails app with Puma and Nginx with SSL certificate, you do not need to start the rails server in screen
cd ~/data2paper
sidekiq
Note This may require bundle exec depending on how you use Ruby