Skip to content

ecds/beckett-data-api

Repository files navigation

README

API Documentation

Live Documentation

Ruby version

3.1.2

System dependencies

  • Elasticsearch
  • PostgreSQL

Database creation

rake db:create && rake db:migrate

Update Elasticsearch Indices

rake searchkick:reindex:all

Run the test suite

bundle exec rspec spec/

Build Documentation

rake docs:generate

Background Jobs

Restart Active Jobs for indexing and Big Sam update.

sudo service sidekiq-1 restart && sudo service sidekiq-2 restart

Deployment Instructions

bundle exec cap production deploy