Main repository for the Dinnr project
Ruby CSS HTML JavaScript CoffeeScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
bin
config
coverage
db
lib
log
public
spec
test/factories
vendor/assets
.DS_Store
.bowerrc
.gitignore
.rspec
.travis.yml
Gemfile
Gemfile.lock
Procfile
README.md
Rakefile
bower.json
config.ru
package.json

README.md

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"```