Coder Social home page Coder Social logo

jasnow / berniebnb Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sandersforpresident/berniebnb

0.0 3.0 0.0 3.21 MB

Home sharing app for Bernie Sanders supporters

License: Other

Ruby 66.19% JavaScript 7.00% CoffeeScript 0.64% CSS 6.81% HTML 19.36%

berniebnb's Introduction

Stories in Ready

Bernie BNB

About

BernieBNB is a home-sharing app to help out-of-town volunteers find lodging for the Bernie Sanders Democratic Primary campaign. As the convention is now over, we are no longer maintaining this project. Thank you to everyone involved. We served people across the country who helped make a difference.

Contributing

We have a channel on slack. Please e-mail [email protected] for an invite. We would love your help.

Steps

  1. 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:
  2. 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:
  3. Create Bing Maps key (BING_GEOCODE_ID) at https://msdn.microsoft.com/en-us/library/ff428642.aspx
  4. 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.

IP: "http://localhost:3000/"

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.

  • Only for:

development:

MAILGUN_API_KEY: "TBD"

MAILGUN_DOMAIN: "TBD

MAILGUN_PUBLIC_KEY: "TBD"

MAILGUN_SMTP_LOGIN: "TBD"

MAILGUN_SMTP_PASSWORD: "TBD"

MAILGUN_SMTP_PORT: "587"

MAILGUN_SMTP_SERVER: "smtp.mailgun.org"

  1. 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.3 * 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".

berniebnb's People

Contributors

jasnow avatar pepperteasdale avatar cockroachbill avatar benterprise avatar parikhshiv avatar sllewelyn-mdsol avatar jake3030 avatar cduffield avatar waffle-iron avatar sabondano avatar cmuld3r avatar

Watchers

 avatar James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.