source: locker/deploy/bin/joomla @ 473

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