Wednesday, September 26, 2012

Import Students/Drop Students

Currently, updating student database is a manual procedure. It will remain so until we fix index problem in staff_organizations table.

Here are the steps. Replace $RADAR_APP_HOME with root directory of Radar app.

% cd $RADAR_APP_HOME
% cd script
% ftp -s:ftp_cmds
% ruby load_students.rb production
% ruby drop_students.rb production

The file ftp_cmds is not checked into gitorious as it contains passwords. You will have to ask Prof Gordon for it.

No comments:

Post a Comment