Giter VIP home page Giter VIP logo

on_ruby's Introduction

OnRuby

Build Status Code Climate Coverage Status

Source for the Sites of the Ruby Communities

I Love Open Source

Status

Up-time Response-time

Setup

Postgresql

# install Postgres on Mac OS X
brew install postgresql
# or on Ubuntu
sudo apt-get install postgresql postgresql-contrib

# check if it's running
psql postgres # exit with \q

# create user and database
createuser -Ps postgres
rake db:setup

Use script/server to run rails locally, otherwise you need to export the environment options yourself:

bundle --without=production
script/server

Hosts

For working with the whitelabel functionality, you need to add all supported subdomains to your /etc/hosts :

127.0.0.1    www.onruby.dev hamburg.onruby.dev cologne.onruby.dev bremen.onruby.dev saar.onruby.dev
127.0.0.1    berlin.onruby.dev karlsruhe.onruby.dev leipzig.onruby.dev dresden.onruby.dev
127.0.0.1    railsgirlshh.onruby.dev bonn.onruby.dev madridrb.onruby.dev

Access via http://www.onruby.dev:5000

Test-Data

You don't need any to setup a new project!

If you want to have some kind of seed, than generate some test-data:

rake data:create

If you are a heroku project admin, you can dump Data from Heroku via Taps Gem:

heroku pg:pull HEROKU_POSTGRESQL_MAROON_URL onruby_development

THE GUIDE TO YOUR RUG

There are just a couple of steps for your Ruby Usergroup Site to get alive:

  • fork this repo
  • run bundle && bundle exec rake fork:usergroup[MyUsergroup]
  • create pull request
  • lean back and wait :)

If you have a custom domain, you need to setup the CNAME of your domain to point to heroku.

On the admin-site we need to:

  • heroku domains:add xyz.onruby.de [custom.de]
  • create new GitHub app for that domain and add keys via heroku config:add
  • merge the pull
  • deploy to heroku
  • add admin privileges to someone for the new RUG

Website

OnRuby Website

Admin Interface

The app comes with an Typus interface to manage the model data. In order to access the admin stuff, you need to be a registered user with the "admin role". Typus is mounted under /admin of your label, so it's http://hamburg.onruby.de/admin for Hamburg.

Stuff to manage (CRUD)

  • Users
  • Events
    • Materials
  • Locations / Companies (Companies are just special Locations)
  • Topics (Stuff that user can demand/propose)
  • Jobs (The Display on top of the Page)
  • Highlights (Special infos, that you want to display for a short period of time)

License

"THE (extended) BEER-WARE LICENSE" (Revision 42.0815): phoet contributed to this project.

As long as you retain this notice you can do whatever you want with this stuff. If we meet some day, and you think this stuff is worth it, you can buy me some beers in return.

on_ruby's People

Contributors

acwebionate avatar alto avatar arbmind avatar arthurnn avatar bitboxer avatar colszowka avatar dennisreimann avatar donschado avatar erotte avatar hagenburger avatar jhilden avatar kikito avatar klaustopher avatar linutux avatar m20io avatar mnin avatar moonglum avatar parkr avatar phoet avatar pragtob avatar ralph avatar rubiii avatar seanlinsley avatar sonnendeck avatar sweed avatar tak1n avatar thilo avatar thomet avatar weidenfreak avatar zealot128 avatar

Watchers

 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.