Skip to content

Latest commit

 

History

History
36 lines (29 loc) · 1.96 KB

README.md

File metadata and controls

36 lines (29 loc) · 1.96 KB

Build Status Code Climate Test Coverage

Dinnr

Dinnr was built as a two week final project at Makers Academy. It is a social app for organizing dinner parties, similar to Airbnb.

Installation Requirements

  • Image Magick needs to be installed in advance
  • Postgresql
  • You need to set up the following environment variables in a .env file in the root directory:
    GMAIL_DOMAIN=gmail.com GMAIL_USERNAME=dinnr.maker@gmail.com GMAIL_PASSWORD=XXXXX_YOUR_PASSWORD_XXX FACEBOOK_APP_SECRET=XXX_YOUR_FB_SECRET_XXXX AWSSecretKey=XXX_YOUR_AMAZON_WEB_SERVICES_KEY_XXX AWSAccessKeyId=XXX_YOUR_AWS_ID_XXXX
  • run bundle
  • run bower install
  • run rake db:create db:migrate
  • run rails s

Testing

Dinnr is thoroughly tested with RSpec/Capybara. You can run these tests from the command line with:
rspec

#On Windows: We included a third environment for Windows development. To run the server in this environment run rails s -e development_windows. In the other environments photo upload won't work on Windows machines. This is because the Rmagick gem doesn't work on Windows machines. In development_windows environment photos get processed by ImageMagick instead. If it doesn't work properly, please check if the path to ImageMagick in config/environments/development_windows are correct for your ImageMagick installation:

Paperclip.options[:command_path] = "C:\\Program\ Files (x86)\\GnuWin32\\bin"```