This README would normally document whatever steps are necessary to get the application up and running.
-
We used ruby 2.5 and Rails 6.0 version so install before setup.
-
Go inside project directory in run command
bundle install
-
Now you are link with database to generate tables you need to run
rails db:migrate
command it will create table in database. -
Run
rails db:seed
to add dummy data. -
Now run the command
rails server
to run the server. Default port is 3000 means you can access it onlocalhost:3000
-
If you want to run it on different port use
rails server -p PORT_NUMBER