Skip to content
This repository was archived by the owner on Mar 13, 2019. It is now read-only.

nomadicoder/stageorders

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Welcome to Stage Orders

Stage Orders is a web-application framework that helps stage race support captains manage race resources.

Getting Started

At the command prompt, clone the Rails app:

git clone git@github.com:nomadicoder/stageorders.git

Install the GEMs:

bundle install

Migrate the database:

rake db:migrate`

Seed the database:

rake db:seed

Go to http://localhost:3000/ and you'll see:

"Welcome aboard: You're riding Ruby on Rails!"

Go to http://localhost:3000/results and you'll see the stage results page

Go to http://localhost:3000/status and you'll see the stage readiness page

User Accounts

To see restricted information or update results and status, you need to have an user account. Accounts may only be created from the rails console.

  1. Enter rails console mode:
rails console
  1. Create an account:
u = User.new( email: "sample@example.com", name: "sample", password: "mypassword", password_confirmation: "mypassword")`
u.save
  1. Make a user an admin or staff, who can update data:
u.update_attribute :admin, true
u.update_attribute :staff, true
  1. To locate a user based on email address:
u = User.find( email: "sample@example.com")
  1. To locate a user based on name:
u = User.find( name: "sample")

About

On-line stage race team support application.

Resources

Stars

Watchers

Forks

Packages

No packages published