Context Navigation


Changeset 2442


Ignore:
Timestamp:
Jun 28, 2013, 9:08:30 PM (12 years ago)
Author:
lfaraone
Message:
Reverting 2441; should commit on locker-dev first.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/locker/deploy/bin/django

    r2441 r2442
    3535close FASTCGI;
    3636chmod 0755, "index.fcgi";
    37(削除) (削除ここまで)
    38(削除) open README, ">README.txt"; (削除ここまで)
    39(削除) print README <<EOF; (削除ここまで)
    40(削除) This directory contains index.fcgi, a script that serves up your Django site. (削除ここまで)
    41(削除) (削除ここまで)
    42(削除) To modify your Django project access the files in (削除ここまで)
    43(削除) /mit/$user/Scripts/django/$name (削除ここまで)
    44(削除) (削除ここまで)
    45(削除) Files placed in this directory will be served directly to users without (削除ここまで)
    46(削除) being processed by Django. (削除ここまで)
    47(削除) (削除ここまで)
    48(削除) Static files live in the "static" subdirectory; you should not add things (削除ここまで)
    49(削除) there directly but instead place them with the relevant application as you (削除ここまで)
    50(削除) normally would, then run "python manage.py collectstatic" from the above (削除ここまで)
    51(削除) directory; see <https://docs.djangoproject.com/en/1.5/howto/static-files/>. (削除ここまで)
    52(削除) (削除ここまで)
    53(削除) -- Scripts Team 2013年06月28日 (削除ここまで)
    54(削除) EOF (削除ここまで)
    55(削除) close README; (削除ここまで)
    56(削除) chmod 0555, "README.txt"; (削除ここまで)
    5737
    5838open HTACCESS, ">.htaccess";
    ... ...
    9373 } elsif (/Chicago/) {
    9474 $_ =~ s/Chicago/New_York/;
    95 } elsif (/^STATIC_URL/) {
    96 $_ = "STATIC_URL = '//$USER.$server/$name/static/'";
    97 } elsif (/^STATIC_ROOT/) {
    98 $_ = "STATIC_ROOT = '/mit/$USER/web_scripts/$addrend/static/'";
    75 } elsif (/^ADMIN_MEDIA_PREFIX/) {
    76 $_ = "ADMIN_MEDIA_PREFIX = '/__scripts/django/media/'";
    9977 } elsif (/^INSTALLED_APPS/) {
    10078 print NEWSETTINGS "$_\n";
    ... ...
    12199 } elsif (/^#.*admin.autodiscover/) {
    122100 $_ =~ s/^# *//;
    123 } elsif (/^ *# (削除) url (削除ここまで)\(r\'\^admin\//) {
    101 } elsif (/^ *# (追記) * (追記ここまで)\(r\'\^admin\//) {
    124102 $_ =~ s/# *//;
    125103 }
    ... ...
    131109
    132110chdir "..";
    133(削除) (削除ここまで)
    134(削除) system(qw{python manage.py collectstatic --noinput}) == 0 or die "\nFailed to collect static files.\n\n"; (削除ここまで)
    135111
    136112print "Initializing your project's SQL database schema...\n";
Note: See TracChangeset for help on using the changeset viewer.

AltStyle によって変換されたページ (->オリジナル) /