Ignore:
Timestamp:
Aug 16, 2009, 4:52:26 AM (15 years ago)
Author:
mitchb
Message:
Final pre-deploy touchups to the Ruby on Rails autoinstaller
  o Don't use a custom ErrorDocument that implies all problems are Rails.
  o Tell users what directory their app is in.
  o Tell users to ssh to scripts to run the Rails tools.
  o Edit the initial welcome page to avoid talking about database creation
    and sqlite.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/locker-dev/locker/deploy/bin/rails

    r1295 r1297  
    7979#   ErrorDocument 500 /500.html
    8080
    81 ErrorDocument 500 "<h2>Application error</h2>Rails application failed to start properly"
    82 
    8381RewriteBase /$addrend/public/
    8482EOF
     
    106104untie @railsdb;
    107105
     106tie my @railswelcome, 'Tie::File', 'public/index.html';
     107for (@railswelcome) {
     108    s/Create your database/Sync your database/;
     109    s/to create your database\..*/to create tables in your database.<\/p>/;
     110}
     111untie @railswelcome;
     112
     113print "Your application is located in:\n";
     114print "  /mit/$USER/web_scripts/$addrend/\n";
     115print "To run programs like rake or script/generate, run\n";
     116print "  'ssh -k $USER\@scripts' and cd to the above directory.\n\n";
     117press_enter;
     118
    108119exit 0;
Note: See TracChangeset for help on using the changeset viewer.