A simple Contacts application built with Ruby on Rails. Similar to "Contacts" on most phone, this application enables you to search and manage your contacts list easily.
- Ruby on Rails 5.x and all its prerequisites. Please refer to official guide.
- PostgreSQL server. If you have it installed, start by running
sudo service postgresql start
cd DESIRED_DIRECTORY
git clone https://github.com/weihien90/ror-contacts.git
Update database credentials
# config/database.yml
development:
adapter: postgresql
encoding: unicode
template: template0
database: DATABASE_NAME
username: USERNAME
password: SECRET
Create and migrate the database schema (make sure your user have CREATEDB permission)
rails db:create db:migrate
Install all required gems
bundle install
rails s