Browse Source

Added to the readme

development
Godwin 10 years ago
parent
commit
a70d15ee3c
  1. 149
      README.md

149
README.md

@ -1,48 +1,121 @@
Bike!Bike!
===========
This is a starter web application based on the following technology stack:
This is the development repository for Bike!Bike!
* [Ruby 2][1]
If you're about to get started contributing please contact Godwin: `goodgodwin``@``hotmail.com`. Also try to familiarize yourself with the [technologies](#technologies) we're using, our collaboration tools, requirements, coding conventions, style guide.
### Technologies ###
-----
* [Ruby 2.0.0][1]
* [Rails 4.0.0][2]
* [PostgreSQL][3]
* [RSpec][4]
* [Twitter Bootstrap 2.3.2][5]
* [Font Awesome 3.2.1][6]
* [HAML][7]
* [HAML][4]
* [Scss][7]
* [Compass][8]
* [Foundation][5]
* [CoffeeScript 1.7.1][6]
* [jQuery 1.11.0][9]
[1]: http://www.ruby-lang.org/en/
[2]: http://rubyonrails.org/
[3]: http://www.postgresql.org/
[4]: http://rspec.info/
[5]: http://twitter.github.com/bootstrap/
[6]: http://fontawesome.io/
[7]: http://haml.info/
Starter App is deployable on [Heroku](http://www.heroku.com/). Demo: http://ruby2-rails4-bootstrap-heroku.herokuapp.com/
```Gemfile``` also contains a set of useful gems for performance, security, api building...
### Nitrous.IO
Starter App supports online development on [Nitrous.IO](http://www.nitrous.io).
You need:
* A Nitrous.IO box with **at least** 512MB of memory.
* Two "Dev Plan" heroku databases (one for development and one for test)
* The following environment variables on your Nitrous.IO box's `.bashrc`:
```bash
export STARTER_APP_DEV_DB_DATABASE=YOUR_DEV_DB_DATABASE
export STARTER_APP_DEV_DB_USER=YOUR_DEV_DB_USER
export STARTER_APP_DEV_DB_PASSWORD=YOUR_DEV_DB_PASSWORD
export STARTER_APP_DEV_DB_HOST=YOUR_DEV_DB_HOST
export STARTER_APP_DEV_DB_PORT=YOUR_DEV_DB_PORT
export STARTER_APP_TEST_DB_DATABASE=YOUR_TEST_DB_DATABASE
export STARTER_APP_TEST_DB_USER=YOUR_TEST_DB_USER
export STARTER_APP_TEST_DB_PASSWORD=YOUR_TEST_DB_PASSWORD
export STARTER_APP_TEST_DB_HOST=YOUR_TEST_DB_HOST
export STARTER_APP_TEST_DB_PORT=YOUR_TEST_DB_PORT
```
A guide for creating heroku databases and edit `.bashrc` on Nitrous.IO is available here: http://help.nitrous.io/postgres/
[4]: http://haml.info/
[5]: http://foundation.zurb.com/
[6]: http://coffeescript.org/
[7]: http://sass-lang.com/
[8]: http://compass-style.org/
[9]: http://jquery.com/
## Collaboration Tools ##
-----
* [Trello][10]
* [GitHub][11]
* [Google Hangouts][12]
[10]: https://trello.com/b/X4TGKQ1L/rails-tasks
[11]: https://github.com/bikebike/BikeBike
[12]: http://www.google.com/+/learnmore/hangouts/
## 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 mutiple 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
_ 'basename.my_key' do
<input type="text" placeholder="_!" />
end
If the key does not exist, the previos 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.'
<input type="text" placeholder="my_key" />
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.
### Style Guide ###
On hold until our design team determines a director for our identity.

Loading…
Cancel
Save