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.

branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

README.md

uClass

Build Status Dependency Status Code Climate

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

Homebrew

brew install imagemagick

RVM

rvm install 2.0.0-p0
rvm use 2.0.0-p0
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_key_base: [secret_key_base]
  google_api:
    client_id: [client_id]
    client_secret: [client_secret]
    encryption_key: [encryption_key]
  paperclip:
    url: uploads
    hash_secret: [hash_secret]
  sendgrid:
    user_name: [sendgrid_user_name]
    password: [sendgrid_password]

development:
  <<: *defaults

test:
  <<: *defaults
  paperclip:
    url: uploads_test
    hash_secret: a really really really secure hash secret

production:
  <<: *defaults
  secret_key_base: a really really secure secret key base
  google_api:
    client_id: a different client id
    client_secret: a different client secret
    encryption_key: a really really secure encryption key
  paperclip:
    url: uploads
    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.