All Projects β†’ phoet β†’ On_ruby

phoet / On_ruby

πŸ’Ž ♦️ Whitelabel Site for Ruby Communities

Programming Languages

ruby
36898 projects - #4 most used programming language

Projects that are alternatives of or similar to On ruby

Has friendship
Add friendship to ActiveRecord models
Stars: ✭ 187 (-6.97%)
Mutual labels:  rails
Timeasure
Transparent method-level wrapper for profiling purposes in Ruby
Stars: ✭ 192 (-4.48%)
Mutual labels:  rails
Icare
Open Source Carpooling Platform
Stars: ✭ 196 (-2.49%)
Mutual labels:  rails
Rails Style Guide
πŸ“— Russian Version: A community-driven Rails 3 & 4 & 5 style guide.
Stars: ✭ 189 (-5.97%)
Mutual labels:  rails
Limestone
Boilerplate Rails 6 SaaS application with Webpack, Stimulus and Docker integration.
Stars: ✭ 191 (-4.98%)
Mutual labels:  rails
Carrierwave Aliyun
ι˜Ώι‡ŒδΊ‘ OSS Ruby δΈŠδΌ η»„δ»ΆοΌŒεŸΊδΊŽ Carrierwave
Stars: ✭ 192 (-4.48%)
Mutual labels:  rails
Diaspora
A privacy-aware, distributed, open source social network.
Stars: ✭ 12,937 (+6336.32%)
Mutual labels:  rails
Rabl Rails
Rails 4.2 & 5 templating system with JSON, XML and Plist support.
Stars: ✭ 200 (-0.5%)
Mutual labels:  rails
Jsonapi Utils
Build JSON API-compliant APIs on Rails with no (or less) learning curve.
Stars: ✭ 191 (-4.98%)
Mutual labels:  rails
Todo Apps
Sample ToDo application (various languages) running on IBM Cloud
Stars: ✭ 195 (-2.99%)
Mutual labels:  rails
Acme Plugin
πŸ” ACME protocol plugin for Ruby on Rails applications
Stars: ✭ 190 (-5.47%)
Mutual labels:  rails
Open Source Meetup Alternatives
Open-Source Alternatives to Meetup
Stars: ✭ 191 (-4.98%)
Mutual labels:  meetup
Browser
Do some browser detection with Ruby. Includes ActionController integration.
Stars: ✭ 2,263 (+1025.87%)
Mutual labels:  rails
Flexirest
Flexirest - The really flexible REST API client for Ruby
Stars: ✭ 188 (-6.47%)
Mutual labels:  rails
Ansible Rails
Ruby on Rails deployment using Ansible - with Lets Encrypt, Sidekiq, PostgreSQL, nginx & puma
Stars: ✭ 199 (-1%)
Mutual labels:  rails
Jp prefecture
Convert japan prefecture code (JIS X 0402 based) into prefecture name.
Stars: ✭ 186 (-7.46%)
Mutual labels:  rails
Action Cable Testing
Action Cable testing utils
Stars: ✭ 192 (-4.48%)
Mutual labels:  rails
Webpacker React
Webpacker plugin to integrate React in your Rails application
Stars: ✭ 201 (+0%)
Mutual labels:  rails
Ruby Docs Samples
Ruby samples for Google Cloud Platform products.
Stars: ✭ 198 (-1.49%)
Mutual labels:  rails
Email Dashboard
πŸ“ͺ An interactive emailing management service with scheduling, templating, tracking and A/B testing.
Stars: ✭ 194 (-3.48%)
Mutual labels:  rails

OnRuby

donate at patreon build Status vulnerability status

site status & uptime

Get in touch in our Slack Channel - join #on_ruby

Source for the Sites of the Ruby Communities:

Support OnRuby

The operation, development and maintenance of OnRuby can be supported via Patreon at patreon.com/on_ruby.

Patrons

Installation

You can install OnRuby using Docker or a local installation.

Install using Docker

Get containers

Install Docker and Docker Compose if you haven't already. Then:

docker-compose up --build

sudo might be required for docker-compose if you run Docker locally on Linux.

This creates three Docker containers:

  • web for the application
  • box for storing rubygems installations
  • db for the PostgreSQL database

Prepare the database

In another terminal, run the Rake task to set up the database structure.

script/in_docker bundle exec rake db:setup

The script/in_docker allows you to run commands inside the Docker container.

Example: Running a spec inside the Docker container

script/in_docker bundle exec rspec spec/requests/labels_spec.rb

Add usergroup hostnames to /etc/hosts

Add all supported subdomains to your /etc/hosts file:

127.0.0.1    www.onruby.test hamburg.onruby.test cologne.onruby.test berlin.onruby.test madridrb.onruby.test andalucia.onruby.test

Visit the site

Navigate to the start page for the OnRuby platform at https://www.onruby.test:3000.

This will list links and logos to all the usergroups.

Install locally

On your machine

Install PostgreSQL

# Install PostgreSQL on macOS
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

Add hosts to /etc/hosts

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

127.0.0.1    www.onruby.test hamburg.onruby.test cologne.onruby.test berlin.onruby.test madridrb.onruby.test andalucia.onruby.test

Access via https://www.onruby.test:3000

Test Data

You don't need any test data to set up a new project!

If you want to have some kind of seed, use this Rake task, to 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

These are the steps to get your Ruby Usergroup Site:

  • Fork this repo
  • Run bundle && bundle exec rake fork:usergroup[MyUsergroup]
  • Create a GitHub Pull Request
  • Lean back and wait :)

If you have a custom domain, you need to configure the DNS.

On the admin site we need to:

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

Website

OnRuby Website

Admin Interface

The app comes with a Administrate 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 https://hamburg.onruby.de/admin for Hamburg.

Stuff to manage (CRUD)

  • Users
  • Events
    • Materials
  • Locations and Companies (Companies are just special Locations)
  • Topics (Subjects for activities that users can request or propose)
  • Jobs (These are displayed at top of the page)
  • Highlights (Special information 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.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].