Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

A replacement for the Blackboard LMS. Utilizes Google Apps integration with Drive, Calendar, Contacts, Blogger, Contacts, and Sites.

tree: a97e818620

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 app
Octocat-spinner-32 config
Octocat-spinner-32 db
Octocat-spinner-32 doc
Octocat-spinner-32 lib
Octocat-spinner-32 public
Octocat-spinner-32 script
Octocat-spinner-32 seeds
Octocat-spinner-32 spec
Octocat-spinner-32 vendor
Octocat-spinner-32 .gitignore
Octocat-spinner-32 .rspec
Octocat-spinner-32 .rvmrc
Octocat-spinner-32 Gemfile
Octocat-spinner-32 Gemfile.lock
Octocat-spinner-32 README.md
Octocat-spinner-32 Rakefile
Octocat-spinner-32 config.ru
README.md

uClass

This app is supposed to be a replacement for the Blackboard LMS. Putting a huge emphasis on Google Apps integration, file storage, calendar management, and contact tracking, this app should be a tremendous draw for universities.

Setting Up Your Environment

RVM

rvm install 1.9.3-p327
rvm use 1.9.3-p327
rvm gemset create uclass

Bundler

gem install bundler
bundle

Database

config/database.yml:

development:
  adapter: mysql2
  database: uclass
  host: localhost
  username: [username]
  password: [password]

test:
  adapter: mysql2
  database: uclass_test
  host: localhost
  username: [username]
  password: [password]
rake db:create
rake db:remigrate

Configuration

config/config.yml:

defaults: &defaults
  secret_token: [secret_token]
  google_api:
    client_id: [client_id]
    client_secret: [client_secret]
    encryption_key: [encryption_key]
  paperclip:
    hash_secret: [hash_secret]
  sendgrid:
    user_name: [sendgrid_user_name]
    password: [sendgrid_password]

development:
  <<: *defaults

test:
  <<: *defaults

production:
  secret_token: a really really secure secret token
  google_api:
    client_id: a different client id
    client_secret: a different client secret
    encryption_key: a really really secure encryption key
  paperclip:
    hash_secret: a really really really secure hash secret
  exception_notification_recipients:
    - email1@test.com
    - email2@test.com

Hosts

uClass takes advantage of /etc/hosts to simulate accessing the application from a specific subdomain. In order for this to work, you must add the following to your /etc/hosts file:

127.0.0.1 uclass.me bryant.uclass.me

Startup

uClass uses Unicorn as a web server.

unicorn_rails --listen 3000
Something went wrong with that request. Please try again.