index : flyspray | |
Archlinux32 customized Flyspray installation | gitolite user |
summaryrefslogtreecommitdiff |
author | Andreas Baumann <mail@andreasbaumann.cc> | 2020-02-01 09:05:48 +0100 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2020-02-01 09:05:48 +0100 |
commit | 6854cb3f4d8219cf1829e32122eb2502a916eae9 (patch) | |
tree | 350feb504587d932e02837a1442b059759927646 /setup/composerit.pl |
-rwxr-xr-x | setup/composerit.pl | 24 |
diff --git a/setup/composerit.pl b/setup/composerit.pl new file mode 100755 index 0000000..6363430 --- /dev/null +++ b/setup/composerit.pl @@ -0,0 +1,24 @@ +#!/usr/bin/perl +use CGI; + +$cgi=new CGI; +print $cgi->header(); +print '<!DOCTYPE html> +<html> +<head> +<meta charset="utf-8"> +<title>Flyspray Install - curl -sS https://getcomposer.org/installer | php</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 load composer stuff</h3><pre>> curl -sS https://getcomposer.org/installer | php</pre>'; +chdir('../'); +@step1= `curl -sS https://getcomposer.org/installer | php`; +print '<h3>Step 1 result</h3><br/><pre>'; +foreach (@step1) { + print; +} +print '</pre>'; + +print '<a class="button" style="text-align:center;margin:auto;display:block;max-width:300px;font-size:2em;" href="composerit2.pl">Next Step</a>'; |