Share your contacts and meet new people!
In Contacts Directory you can add and delete contacts and receive notifications when others do the same!
- 12-May-2016
- Ruby: 2.2.0-p0
- Rails: 4.2.4
You can access this application on it's heroku site: Contacts Directory!
Contacts Directory uses:
- MySQL Database
- Redis (3.3.0) (install with homebrew using
brew install redis) - MailCatcher (0.6.4) for local mail catching (install with
gem install mailcatcher)
Prepare the project and create some seed records with:
- Clone the repository.
bundle installon app directory.bundle exec rake db:createon app directory.bundle exec rake db:migrateon app directory.bundle exec rake db:seedon app directory.
To run test, prepare test database and execute with:
bundle exec rake db:create RAILS_ENV=teston app directory.bundle exec rake db:test:prepareon app directory.bundle exec rake teston app directory.
Open a command line terminal for each of the following items and execute the instruction:
- Start Redis server with
redis-server(will start on tolocalhost:6379by default). - Start MailCatcher with
mailcatcher(will start on tolocalhost:1080by default). - Start Resque background queue that will handle email notifications delivery with
QUEUE=* rake environment resque:work. - Start Rails server with on app directory
rails s(will start onlocalhost:3000by default).
Go to localhost:3000 to start using the app!