Bike!Bike! Website!
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Godwin cabb4db1e9 Updated our readme 9 years ago
app Reverting change for paypal 9 years ago
bin Ready to merge 9 years ago
bower_components The working basics 11 years ago
config Allowing registration to be access but not modified after registration is closed 9 years ago
db Schedules! 9 years ago
doc adding setup notes for getting started with ubuntu 10 years ago
features Schedules! 9 years ago
lib/tasks Ready to merge 9 years ago
nbproject Some updates to translation engine, added dotenv but have not yet set it up. 11 years ago
public Paypal Registration 10 years ago
script Ready to merge 9 years ago
tmp/locales moved translation-info.yml to temporary directory since it is only used in development and test to show translations 10 years ago
.coveralls.yml Bumped VERSION to 0.1.3 12 years ago
.gitignore Email testing support, added Gemfile.lock and compiled bumbleberry assets to gitignore. 9 years ago
.rspec Some updates to translation engine, added dotenv but have not yet set it up. 11 years ago
.slugignore moved files to proper folder 12 years ago
.travis.yml setup the test db 10 years ago
CHANGELOG.md Updated gems 11 years ago
DB specs.txt Fixed some issues with registration 11 years ago
Gemfile Logging info for stats.xls, removing foundation. 9 years ago
Gemfile.lock Schedules! 9 years ago
Guardfile Some updates to translation engine, added dotenv but have not yet set it up. 11 years ago
LICENSE Bumped VERSION to 0.1.3 12 years ago
README.md Updated our readme 9 years ago
Rakefile The working basics 11 years ago
VERSION Updated gems 11 years ago
bower.json The working basics 11 years ago
buoy-settings.json Added some files 10 years ago
config.rb The working basics 11 years ago
config.ru Bumped VERSION to 0.2.0 12 years ago
false The working basics 11 years ago
jpegoptim.exe The working basics 11 years ago
optipng.exe The working basics 11 years ago

README.md

Bike!Bike!

This is the development repository for Bike!Bike! Progress can currently be seen at preview.bikebike.org and in production at bikebike.org

If you're about to get started contributing please contact Godwin: goodgodwin``@``hotmail.com. Also try to familiarize yourself with the technologies we're using, our collaboration tools, requirements, coding conventions, style guide, and testing practices.

Technologies

Internal Gems

We will make a commitment to extract any functionality that makes sense to do so, into separate gems in order to share functionality with others, with our other projects (such as bikecollectives.org), and to enable easier collaboration amongst ourselves.

Here is a list of the gems we have created so far, if you are a collaborator on this project you may need to become a collaborator on these gems as well. Don't hesitate to make a request, it won't be denied:

Lingua Franca

Lingua Franca provides an easy way to include translatable content and provides a user interface for translators to provide translations. See Translations for best practices on the Bike!Bike! website.

Bumbleberry

Bumbleberry provides cross-browser support with little effort and minimum file sizes. Basically it creates a different stylesheet for every known browser and only includes supported rules for each using information obtained from caniuse.com.

Collaboration Tools

Github Workflow

Working on it...

Requirements Overview

Bike!Bike! is a conference which is held in and hosted by a different city each year. The conference is specifically for not for profit bicycle collectives (5013c or equivalent status is not required). There are also 'Reginal Bike!Bike!s' which can be hosted by any organization at any time of the year.

The Bike!Bike! website will help coordinate these conferences, allowing users to register, to create organizations, and organize conferences.

Users

Users should be able to register and log in, either with our system or using Facebook. We will store user name, encrypted passwords, email addresses, avatars, and user settings.

Organizations

An organization can be created by any user. An organization has a name, location, logo, email address, and some additional optional settings. An organization also contains a list of users which can interact and represent the organization on the site. A user is added to the organization by either:

  1. Creating the organization
  2. Requesting membership
  3. Being invited by an existing member

Organizations can be set up to allow anyone to become a member, require verification, require a secret password, or only allow invitations.

Conferences

Conferences can be created by any user who is associated with an organization. A conference has a name, date, location, a list of host organizations, and optional administrators.

A conference can be modified by anyone who has been added as an administrator directly, or is a member of any of the host organizations.

Registration

Any member of the site can register for a conference. A form must be constructed by the conference corrdinators and must then be completed by the registrant.

Workshops

Any user who is register for a specific conference can propose workshops for that conference. A workshop is later scheduled by the conference coordinators if they decide to include it in the conference. A workshop can have one or more facilitators which are added in a similar process as users are added to an organization.

Events

Events are created and scheduled by conference coordinators.

Coding Conventions

Ruby

CoffeeScript

Haml

SCSS

Translations

Translating our site into multiple languages is a key part of opening it up to the world. When coding, never include any English text as in a string or Haml. Instead, we shall always use the underscore helper method _. The method takes a translation key and some optional parameters.

All translation is done in a collaborative, volunteer based system on the site itself, even the English text. If a user has sufficient permissions, the underscore method will produce highlighted text which can be edited directly by the user.

The method can be used as follows:

_ 'basename.my_key'

_ 'basename.my_key', :paragraph

end

If the key does not exist, the previous lines will produce the following respectively:

'my_key'

'Curabitur non nulla sit amet nisl tempus convallis quis ac lectus.
	Vivamus magna justo, lacinia eget consectetur sed, convallis at
	tellus. Proin eget tortor risus. Donec sollicitudin molestie
	malesuada. Donec rutrum congue leo eget malesuada.'

If the user has sufficient rights, these blocks will also be surrounded by the necessary markup to allow them to be selected and edited by the user.

Translations are recorded during testing and committed to the repository when pushing to github. After pulling down the latest version from github you should always run rake translations:migrate to put the latest migrations into your database.

Style Guide

On hold until our design team determines a director for our identity.

Testing Practices

Our focus will be on integration testing using Capybara. While testing the app records all translations that it finds, whether or not they exist, and which pages that they were found on.