kennym / openhunt

discover new products, give feedback, help each other

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Open Hunt

Join the chat at https://gitter.im/OpenHunting/openhunt

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.

Dependencies

Development

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.

Setup Your Twitter App

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.

  1. Create a dev app with your twitter account: https://apps.twitter.com/app/new
  1. Change the permissions to "Read Only"
  1. 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"

Override Database configuration on development

Configure an ENV variable locally for DATABASE_URL. Configuration instructions here.

postgresql://localhost/myopenhunt

Getting Sample data

In dev mode it's useful to generate a randomly generated list of users, posts, and votes.

rake db:seed

Dev Login

In dev mode, it's useful to be able to log in as any user. To do this, navigate to: http://locahost:3000/devauth

License

Open Hunt is released under the MIT License.

About

discover new products, give feedback, help each other

License:MIT License


Languages

Language:Ruby 54.0%Language:CSS 23.0%Language:HTML 18.2%Language:JavaScript 4.8%