iamnoah / bike-buddy

App to match new and experienced bicycle commuters.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bike Buddy

Bike Buddy is a web-based application to help new Austin-area bike commuters find a “buddy” who will help them learn to commute by bicycle safely and effectively, and for experienced bike commuters to offer their interest to be a buddy.

The system is built with Rails 3.2.

This note describes how to setup the application for development.

Status / Issues

The implemented functions are:

  • New user registration

  • Password change

  • Password recovery (untested)

  • Profile update

  • Logout

  • Initiate contact to potential buddy

The functions left to do are:

  • Display map on home page.

Deficiencies:

  • Haven't tested email confirmation. (I've been manually enabling the new account by going into the database and setting the “users.confirmed_at” field for the new record.)

  • Haven't tested password recovery.

  • Design (site is unstyled)

Installation

  • Download this package to your local system.

  • The “device” authentication package requires a server Javascript engine to run. This one dependency is not specified in the “Gemfile” because it could vary, depending on system type.

    For Linux systems, you can install a Javascript engine by running:

    # gem install therubyracer
    

    For more information on usable JavaScript engines, see:

    https://github.com/sstephenson/execjs
    
  • Ensure required Ruby modules (gems) are present. Change into the project directory and run:

    $ bundle install
  • Initialize the database. Run:

    $ rake db:migrate
  • Start the server. Run:

    $ rails server
  • The app should now be running. Visit:

    http://localhost:3000/

About

App to match new and experienced bicycle commuters.


Languages

Language:Ruby 86.0%Language:JavaScript 14.0%