• Stars
    star
    3,402
  • Rank 13,151 (Top 0.3 %)
  • Language
    Ruby
  • License
    Other
  • Created about 13 years ago
  • Updated 8 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Curriculum for RailsBridge workshops

The RailsBridge Documentation Project

Build Status

Overview

This is a Sinatra app, deployed at http://docs.railsbridge.org. The RailsBridge documentation project is home to a few subprojects, including the RailsBridge installfest instructions, which leads students through the various complicated setup instructions for getting Ruby, Rails, Git, etc. installed on their computer (whatever combination of computer, OS, and version they happened to bring to the workshop!), as well as the RailsBridge workshop "Suggestotron" curriculum.

Each subproject (a "site") comprises files stored under the "sites" directory; for instance, the installfest instructions are located at ROOT/sites/en/installfest, while the intro rails curriculum can be found under ROOT/sites/en/intro-to-rails. (The "en" means "English" -- see "Locales" below.)

These files can be in any of these formats:

(If multiple files exist with the same base name, .step is preferred over .md, and .md over .mw.)

Usage

bundle install
bundle exec rake run

If the above fails (say, because rerun doesn't work on your system), try

rackup

Then open http://localhost:9292 in a web browser, and verify that you can navigate the installfest slides.

Locales

To serve sites from "sites/en", use bundle exec rake run or a vanilla deploy.

To server sites from another locale (say, "es" or Spanish)...

Run Localized Site Locally

$ SITE_LOCALE=es bundle exec rake run

The server listens on 0.0.0.0:9292.

Now you have to set up subdomain mappings for the site. If you have Pow, run:

$ echo 9292 > ~/.pow/railsbridge # works for any subdomain

If you don't have Pow, add the following line to /etc/hosts:

127.0.0.1 es.railsbridge.dev # works for single subdomain

Now you can access http://es.railsbridge.dev:9292 for debugging.

Running on a Server

Just make sure the server responds to a locale subdomain: http://es.railsbridge.org

Temporary Testing

Use a locale or l parameter: http://docs.railsbridge.org/?l=es.

Note that in this mode, links are not rewritten, so if they fail you will have to manually add the parameter again.

Contributing

Check out CONTRIBUTING.md to see how to join our list of contributors!

License

The documentation (including anything under the sites subdir as well as some hardcoded text elsewhere) is licensed under a Creative Commons license (CC-BY, specifically), which means you're welcome to share, remix, or use our content commercially. We just ask for attribution.

The code is licensed under an MIT license, like Ruby itself. Copyright (c) 2010-2014 by RailsBridge.

Other Resources

More Repositories

1

bridge_troll

Event management system for all the Bridges (RailsBridge, MobileBridge, GoBridge, etc!)
Ruby
282
star
2

teachingkids

resources on teaching kids to program
Ruby
35
star
3

organizing

Where workshop organizers can keep track of the workshops currently being planned.
27
star
4

railsbridge-virtual-machine

Railsbridge Virtual Machine
20
star
5

railsbridge_dot_org

This is the RailsBridge website
Haml
19
star
6

builders

ARCHIVED as of 7/29/2013: Recruiting page for the RailsBridge Builders
Ruby
11
star
7

gryffindor

DEPRECATED as of 7/29/2013: Bridge Troll now handles all sorting functionality for workshops. This repository may be deleted in the near future. Gryffindor used to be a sorting hat app for organizing workshop participants and volunteers.
JavaScript
8
star
8

bookclub

ARCHIVED as of 7/29/2013: Rails Tutor Book Club
Ruby
7
star
9

snake-game-tutorial

A walkthrough for novice programmers to make a simple game.
JavaScript
5
star
10

bugmash_scoreboard

ARCHIVED as of 7/29/2013: Scorebard for the first Rails and RailsBridge BugMash
Ruby
5
star
11

railstutor

ARCHIVED as of 7/29/2013: New Rails Tutor Site
Ruby
2
star
12

railsbridge-curriculum-style

A collection of js, css, and images to make your tutorial look and feel like railsbridge!
2
star
13

bugmash_site

ARCHIVED as of 7/29/2013: Rails & RailsBridge BugMash
Ruby
2
star
14

suggestorama

Application built at the first RailsBridge workshop
Ruby
1
star
15

rails_tutor

ARCHIVED as of 7/29/2013
Ruby
1
star
16

JS-Skeleton

CSS
1
star
17

wordpress-theme

A repo for the theme for the RailsBridge wordpress blog
CSS
1
star
18

redirector

redirects defunct apps to their new home
Ruby
1
star