-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathscript.php
18 lines (14 loc) · 1.1 KB
/
script.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/php -q
<?php
$hostname = 'testHost';
$databasename = 'testDB';
// echo "installing Project ............... \n \n \n";
// shell_exec("composer create-project roots/bedrock && cd bedrock/web/app/themes && composer create-project roots/sage");
// shell_exec("cd bedrock/web/app/themes/sage && git clone [email protected]:code95/starter-theme.git framework");
// shell_exec("cp -v functions.php bedrock/web/app/themes/sage/resources");
// echo "Function copy done ............... \n \n";
// shell_exec("sudo /Applications/MAMP/Library/bin/httpd -f '/Library/Application Support/appsolute/MAMP PRO/conf/httpd.conf' -k start");
// shell_exec("/Applications/MAMP\ PRO.app/Contents/MacOS/MAMP\ PRO cmd createHost {$hostname} /Applications/MAMP/htdocs");
// shell_exec("/Applications/MAMP\ PRO.app/Contents/MacOS/MAMP\ PRO cmd createHost {$hostname} /Applications/MAMP/htdocs {$databasename}");
// shell_exec("/Applications/MAMP\ PRO.app/Contents/MacOS/MAMP\ PRO cmd stopServers");
// shell_exec("sudo /Applications/MAMP/Library/bin/httpd -f '/Library/Application Support/appsolute/MAMP PRO/conf/httpd.conf' -k restart");