We want to build an app to allow supporters to share their homes with others from out of town and to help supporters on the road find lodging.
- Rails 4.2.5
- Devise/ Omniauth for authentication with Facebook and google
- Geocoder gem to search by zipcode, using Bing geocoding API.
- Bower for front end asset management
We have a channel on slack. Please e-mail buddhistsforbernie@gmail.com for an invite. We would love your help.
- Set up Facebook Developer account at https://developers.facebook.com then get your FACEBOOK_KEY and FACEBOOK_SECRET. * Here is a good How-To article:
- Set up Google Developer account at https://developers.google.com/ and get your GOOGLE_CLIENT_ID and GOOGLE_CLIENT_SECRET. * Here are two good How-To articles:
- Create Bing Maps key (BING_GEOCODE_ID) at https://msdn.microsoft.com/en-us/library/ff428642.aspx
- Based on figaro gem, create a config/application.yml file and set values.
USERNAME: TBD # Used in config/database.yml file.
PASSWORD: TBD # Used in config/database.yml file.
MAILER_URL: localhost:3000/
FACEBOOK_KEY: TBD # Used in config/initializers/omniauth.rb file.
FACEBOOK_SECRET: TBD # Used in config/initializers/omniauth.rb file.
GOOGLE_CLIENT_ID: TBD # Used in config/initializers/omniauth.rb file.
GOOGLE_CLIENT_SECRET: TBD # Used in config/initializers/omniauth.rb file.
BING_GEOCODE_ID: TBD # Used in config/initializers/geocoder.rb file.
- To set up development environment, do the following: * Fork the repo at https://github.com/SandersForPresident/BernieBNB * Cloned it locally. * Setup environment to use ruby 2.3.0 * Do above steps 1-3. * Run "bundle" * Run "rake db:create". * Run "rake db:migrate". * Run "rake db:setup". * Run "rake" to run the tests. * Run "git remote add upstream https://github.com/SandersForPresident/BernieBNB.git" so you can keep in sync with original project by running "git pull upstream master".