Repository navigation
DEPRECATED: Developing Natively
Parinita Mulak edited this page Oct 2, 2026
·
1 revision
Warning
Deprecated documentation
This page is retained for historical reference and may no longer describe the current Ursus application or development environment.
For current documentation, start with Solr in Ursus.
The official way to run ursus is with Docker. As an alternative, ursus and its required services can be run natively, as described by this page. These instructions are not supported and not likely to be maintained.
Requirements:
- Ruby and Bundler
- MySQL (or MariaDB), Node.js, and Java
- Various build tools (Ubuntu packages are listed below - not sure about other distros...)
- Install MySQL (or MariaDB)
- Ensure that Java, Rails > 5, and Ruby > 2.2 are installed
- Run
bundle install - Create an
ursusdatabase user,urus_developmentandursus_testdatabase and grant that user all permissions to the ursus databases. - Run
rails db:migrate - To configure your
developmentandtestenvironments, create files called.env.developmentand.env.test. You can use thedotenv.samplefile as an example for which environment variables you need to set. - Make sure the
config/blacklight.ymlpoints to the solr index from your Californica environment. (This should be handled by the environment variables in the.env.*files)
- Make sure the solr from your Californica
developmentenvironment is running. - Make sure mysql is running
- Run
rails s -p 3001. (If you are running both Californica and Ursus at the same time, they can't both use Rails default port 3000, so you'll have to change one of them.) - Visit
http://localhost:3001in your browser (or whatever host and port you have configured for Rails)
- Make sure the solr from your Californica
testenvironment is running. - Make sure mysql is running
- Run
rspec spec