Open Hunt is a brand new community for fans and builders of early stage technology products. We aim to be completely open and transparent, without insiders or gatekeepers who control who gets listed and who gets left out.
-
Ruby on Rails (2.1.4) install
-
PostgreSQL install on mac | install on linux
Firstly, fork the repo on the master branch and clone your repo
git clone https://github.com/<your username>/openhunt
Install the required gems with bundler
bundle install
Create a new branch for your feature
git checkout -b feature/your-feature
Setup the Twitter App instructions
Run the application using
rails server
When you have finished your feature and added your tests, submit a pull request using your feature branch.
Open Hunt currently uses Twitter authentication. To dev locally, you'll need to create an app on Twitter.com and use the auth keys they provide you.
- Create a dev app with your twitter account: https://apps.twitter.com/app/new
-
set the name to something unique (something like "Open Hunt dev - [your github username]")
-
set description / website to anything
-
set the callback url to http://goo.gl/QVYCy (a shortlink that points to http://localhost:3000/auth/twitter/callback)
- Change the permissions to "Read Only"
-
in "Application Settings -> Access Level", click "modify app permissions"
- Click on the tab "Keys and Access Tokens". Then create a new file at
config/settings.local.yml
with the content:
# pull the value for "Consumer Key (API Key)"
twitter_key: "PASTE_REAL_KEY_HERE"
# pull the value for "Consumer Secret (API Secret)"
twitter_secret: "PASTE_REAL_SECRET_HERE"
Open Hunt is released under the MIT License.