Skip to content
A contriboot thingie in almost vanilla rails.
Ruby HTML CSS JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
bin
config
db
lib
public
test
vendor
.gitignore
.ruby-gemset
.ruby-version
.travis.yml
Gemfile
Gemfile.lock
Procfile
README.md
Rakefile
config.ru
package.json

README.md

Contriboot Rails

This is a contribution tool built specifically for the Ruby Unconf Hamburg 2018. It is heavily inspired by the JSUnconf.eu Contriboot but written from scratch in Ruby on Rails, as it should be :)

It was generated using a Rails App Composer template for GitHub authentication and also for styling via Bootstrap/Sass.

If you find any problems, please create an issue or send a pull request.

Depfu

Run locally

  • check for ruby version in .ruby-version
  • bundle install
  • rake db:create
  • bin/rails db:migrate RAILS_ENV=development
  • bundle exev rails s

You should see the app running at http://0.0.0.0:3000

image

To add GitHub authentication locally, you'll need to create a GitHub OAuth app (go to Settings/Developer settings/OAuth Apps on GitHub and click "new OAuth app"), with http://localhost:3000/auth/github/callback as the Authorization Callback URL. Every other setting is irrelevant, just type in some useful stuff. You need to jot down the Client ID and Client Secret and then create an .env file in the project root, with the following content:

GH_PROVIDER_KEY=#{client_id}
GH_PROVIDER_SECRET=#{client secret}

Hosting

Hosting is sponsored by Depfu and the app runs on a hobby dyno on Heroku.

If you need deployment permissions, please contact @halfbyte on Slack.

You can’t perform that action at this time.