CMS API
- Ruby version - 2.5.1
- Rails version - 5.2
Steps to setup the application
- Set gemset name inside .ruby-gemset file in application root, then run
bundle install
inside application root directory - Copy database.yml.example content to database.yml and add username and password of Postgres instance
- Install postgres DB and redis-server which is required for sidekiq background processing
- Run rails db:create
- Run rails db:migrate
- Run rails db:seed to populate seed data
- Start rails server by executing
rails s
command inside project root directory
How to run the test suite?
Run rspec spec
inside application root
Steps to access UI
- Open cms_ui directory and open index.html file in browser.
Thanks