Skip to content

CSC322-Grinnell/curricular-planning

Repository files navigation

CSC-322 Curricular Planning

Build Status Stories in Progress Stories Needing Review

Authors

  • Jonathan Ackmann
  • Marija Ivica
  • Alex Mitchell
  • Otabek Nazarov
  • Prabir Pradhan
  • Corey Simmonds

System Dependencies

Depending on your platform, you will acquire these packages in different ways. You should consult the documentation for your operating system to determine the proper way to install these programs.

  • ruby 2.3
  • rails 4.1
  • gem 2.5
  • bundler 1.14
    • This can be installed via gem as follows: gem install bundler

Basic Environment Initialization

  1. Ensure all above system dependencies are installed
  2. Clone this repository.
  3. cd into the repository
  4. bundle install to install Gem dependencies
  5. rails s to start server

Additional Development Environment Configuration

Issues During Development

  • Rails Error: "action controller doesn't recognize term input"
    • Run rake db:drop db:create db:migrate

Additional Production Environment Configuration

  • By default, Rails will listen on port 3000.
    • Use ModProxy on Apache or similar to forward traffic from existing infrastructure or
    • If you wish to automatically serve from another port edit line default_options_alias.merge!(:Port => 3000) in /config/boot.rb to specify which port the website should be hosted on
  • Configure mailer subsystem for user email confirmation:
    1. in /config/environments/development.rb remove:
      config.action_mailer.delivery_method = :smtp
      config.action_mailer.smtp_settings = {:address => "localhost", :port => 1025}
    
    1. in /config/environments/production.rb add:
      config.action_mailer.default_url_options = {:host => 'yourdomain.com'}
      config.action_mailer.delivery_method = :smtp
      config.action_mailer.smtp_settings = {
          :address => "127.0.0.1",
          :port    => 25,
          :domain  => 'yourdomain.com'
      }
    

Releases

No releases published

Packages

No packages published