Backend for Bookstore CMS app built with Ruby on Rails.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
This project runs on Ruby, and Rails After installation, run ruby -v to make sure Ruby installed correctly. Example:
$ ruby -v
ruby 2.6.2p47 (2019-03-13 revision 67232) [x86_64-linux]
Also, make sure that Rails is installed by running rails -v. Example:
$ rails -v
Rails 5.2.3
Run bundler -v
and make sure your bundler version is 2.0.2 or greater, otherwise update bundler.
Run bundle install
to install all project dependencies.
In order to set up the database run the following command:
rails db:create db:migrate
Run the server with the following command:
rails s