Last change
on this file since 472 was
472,
checked in by andersk, 17 years ago
|
Uncurl advancedbook, advancedpoll, e107, joomla, phpbb.
|
-
Property svn:executable set to
*
|
File size:
926 bytes
|
Rev | Line | |
---|
[127] | 1 | #!/usr/bin/perl |
---|
| 2 | use strict; |
---|
| 3 | use lib '/mit/scripts/deploy/bin'; |
---|
| 4 | use onserver; |
---|
| 5 | |
---|
| 6 | setup(); |
---|
| 7 | |
---|
| 8 | print "\nPlease decide upon a title for your site and enter it below.\n"; |
---|
| 9 | print "Desired title: "; |
---|
| 10 | my $title = <STDIN>; |
---|
| 11 | chomp($title); |
---|
| 12 | |
---|
[472] | 13 | fetch_uri( |
---|
| 14 | 'installation/install2.php', |
---|
| 15 | {}, |
---|
| 16 | {DBhostname => $sqlhost, |
---|
| 17 | DBuserName => $sqluser, |
---|
| 18 | DBpassword => $sqlpass, |
---|
| 19 | DBDel => 0, |
---|
| 20 | DBname => $sqldb, |
---|
| 21 | DBPrefix => 'jos_', |
---|
| 22 | DBSample => 1}); |
---|
[127] | 23 | |
---|
| 24 | my $pwd = `pwd`; |
---|
| 25 | chomp($pwd); |
---|
| 26 | |
---|
[472] | 27 | print "=== $base_uri ===\n"; |
---|
| 28 | |
---|
| 29 | fetch_uri( |
---|
| 30 | 'installation/install4.php', |
---|
| 31 | {}, |
---|
| 32 | {DBhostname => $sqlhost, |
---|
| 33 | DBuserName => $sqluser, |
---|
| 34 | DBpassword => $sqlpass, |
---|
| 35 | DBname => $sqldb, |
---|
| 36 | DBPrefix => 'jos_', |
---|
| 37 | sitename => $title, |
---|
| 38 | siteUrl => $base_uri, |
---|
| 39 | absolutePath => $pwd, |
---|
| 40 | adminEmail => "$human\@mit.edu", |
---|
| 41 | adminPassword => $admin_password, |
---|
| 42 | filePerms => 0, |
---|
| 43 | dirPerms => 0}); |
---|
| 44 | |
---|
[127] | 45 | `rm -rf installation`; |
---|
Note: See
TracBrowser
for help on using the repository browser.