removed database.yml and Gemfile.lock from .ignore
set database.yml
bundle install
added rails_12factor gem
bundle install
precompiled the assets