source: locker/deploy/bin/joomla @ 472

Last change on this file since 472 was 472, checked in by andersk, 15 years ago
Uncurl advancedbook, advancedpoll, e107, joomla, phpbb.
  • Property svn:executable set to *
File size: 926 bytes
Line 
1#!/usr/bin/perl
2use strict;
3use lib '/mit/scripts/deploy/bin';
4use onserver;
5
6setup();
7
8print "\nPlease decide upon a title for your site and enter it below.\n";
9print "Desired title: ";
10my $title = <STDIN>;
11chomp($title);
12
13fetch_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});
23
24my $pwd = `pwd`;
25chomp($pwd);
26
27print "=== $base_uri ===\n";
28   
29fetch_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
45`rm -rf installation`;
Note: See TracBrowser for help on using the repository browser.