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
brew install imagemagick
rvm install 2.0.0-p0 rvm use 2.0.0-p0 rvm gemset create uclass
gem install bundler bundle
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
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: - email@example.com - firstname.lastname@example.org
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
uClass uses Unicorn as a web server.
unicorn_rails --listen 3000