Skip to content

Abiddy/candy-shop

Repository files navigation

README

This README would normally document whatever steps are necessary to get the application up and running.

Things you may want to cover:

  • Ruby version: 2.5.1

  • Configuration Download and install Ruby on Rails on your machine.

-unzip the code artifact in your local machine

-Install rails

gem install rails

-Bundle the app

bundle install

-Open the database.yml and modify the following snippet with the username and password:

  username: nouman
  password: <%= ENV['SAMPLE_DATABASE_PASSWORD'] %>

-In order to create the database schema:

rails db:migrate

-To start the server:

rails s

The web application can be accessed over http://localhost:3000.