Skip to content

Running Sufia in development

Anusha Ranganathan edited this page Oct 18, 2017 · 1 revision

You can Run (Start and stop) each of the services individually.

Recommend using screen to run all of the services in development mode interactively

Start Fedora and Solr with the Jetty wrapper

cd ~/dataPaperCompanion
rake jetty:start

Rails server

To start the rails server from the console

cd ~/data2PaperCompanion
rails server -b 0.0.0.0 -p 5000

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

Workers

cd ~/dataPaperCompanion
RUN_AT_EXIT_HOOKS=true TERM_CHILD=1 QUEUE=* rake environment resque:work

Clone this wiki locally