# Initial Setup

## Mandap

A wedding store where you can buy and rent traditional clothes including wedding clothes.

[![pipeline status](https://gitlab.com/poudelmadhav/mandap/badges/master/pipeline.svg)](https://gitlab.com/poudelmadhav/mandap/commits/master) [![coverage report](https://gitlab.com/poudelmadhav/mandap/badges/master/coverage.svg)](https://poudelmadhav.gitlab.io/mandap/coverage/)

## Website Link

* <https://mandap.herokuapp.com>

## How to run this app locally?

* Make sure you have installed ruby(v2.4.1), Ruby on rails and postgres on your pc. You can follow [this tutorial](https://gorails.com/setup/ubuntu/18.04)
* Clone the app and go to the cloned folder
* `bundle install`
* Rename `/config/database-sample.yml` to `/config/database.yml`
* Use your `username` and `password` of database in `/config/database.yml`
* Create database `rake db:create`
* Migrate database `rake db:migrate`
* Now start the server `rails s` and browse locally <http://localhost:3000>
