source: locker/deploy/bin/joomla @ 473

Last change on this file since 473 was 473, checked in by andersk, 15 years ago
More joomla cleanup.
  • Property svn:executable set to *
File size: 888 bytes
Line 
1#!/usr/bin/perl
2use strict;
3use lib '/mit/scripts/deploy/bin';
4use onserver;
5use Cwd;
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
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});
24
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,
35     absolutePath => getcwd(),
36     adminEmail => "$human\@mit.edu",
37     adminPassword => $admin_password,
38     filePerms => 0,
39     dirPerms => 0});
40
41system('rm', '-rf', 'installation');
Note: See TracBrowser for help on using the repository browser.