Fetching contributors…
Cannot retrieve contributors at this time
executable file 18 lines (14 sloc) 555 Bytes
#!/usr/bin/env php
//check if this is command line and install
global $argv, $argc;
if(isset($argv)) {
if(!isset($argv[1])) {
echo "Install Cumula Usage: install <name> [-base-dir=<path>]\n";
$installPath = include 'bin'.DIRECTORY_SEPARATOR.'install.php';
echo 'Your new Cumula app is now ready at: '.$installPath."\n";
echo "Next, in that directory run `php composer.phar install`\n";
echo "Final Step: point your web server at ".$installPath.DIRECTORY_SEPARATOR."app".DIRECTORY_SEPARATOR."public and visit http://localhost\n";