index : flyspray | |
Archlinux32 customized Flyspray installation | gitolite user |
summaryrefslogtreecommitdiff |
-rwxr-xr-x | setup/composerit2.pl | 29 |
diff --git a/setup/composerit2.pl b/setup/composerit2.pl new file mode 100755 index 0000000..04bd81b --- /dev/null +++ b/setup/composerit2.pl @@ -0,0 +1,29 @@ +#!/usr/bin/perl +use CGI; + +$cgi=new CGI; +print $cgi->header( + -expires => 'Sat, 26 Jul 1997 05:00:00 GMT', + -Pragma => 'no-cache', + -Cache_Control => join(', ', qw(private no-cache no-store must-revalidate max-age=0 pre-check=0 post-check=0)), +); +print '<!DOCTYPE html> +<html> +<head> +<meta charset="utf-8"> +<title>Flyspray Install - php composer.phar install</title> +<link media="screen" href="../themes/CleanFS/theme.css" rel="stylesheet" type="text/css" /> +</head> +<body style="padding:2em;"><img src="../flyspray.png" style="display:block;margin:auto;"> +'; + +print '<h3>Trying to install packages</h3>'; +print '<a class="button" style="text-align:center;margin:auto;min-width:300px;" href="index.php">Go to setup page</a>'; +#chdir('..'); +@step2= `export COMPOSER_HOME=. ; php composer.phar --working-dir=.. install 2>&1`; +print '<pre>> php composer.phar install</pre>'; +print '<pre>'; +foreach (@step2) { + print; +} +print '</pre>'; |