From 0f78c1fb53096c2621f02c77f15589a69e086f1d Mon Sep 17 00:00:00 2001 From: Thomas Chartron Date: Sat, 24 Oct 2020 10:59:25 +0200 Subject: [PATCH] :memo: Generic changes to put it on github --- composer.json | 4 ++-- src/WebAppMaker/Configuration/Config.php | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/composer.json b/composer.json index 07c625e..5e6dcde 100644 --- a/composer.json +++ b/composer.json @@ -1,10 +1,10 @@ { - "name": "thomas/make-webapp", + "name": "make-webapp", "description": "Auto configuration of webserver for new web app", "repositories":[ { "type":"vcs", - "url":"git@gitlab.com:ThomasChartron/make-webapp.git" + "url":"git@github.com:tchartron/make-webapp.git" } ], "require": { diff --git a/src/WebAppMaker/Configuration/Config.php b/src/WebAppMaker/Configuration/Config.php index 5a8eabb..361369a 100644 --- a/src/WebAppMaker/Configuration/Config.php +++ b/src/WebAppMaker/Configuration/Config.php @@ -68,7 +68,7 @@ public function buildAppConfiguration($configValues) : bool //create vhost VHOST_FILENAME //fill VHOST_FILENAME //Edit /etc/hosts - //symlink dev folder and apache RootDirectory folder /var/www/uwithi/public + //symlink dev folder and apache RootDirectory folder /var/www/app/public //restart webserver // /** @@ -155,7 +155,7 @@ public function buildAppConfiguration($configValues) : bool } //a2ensite $this->execOrFail("a2ensite ".trim($configValues['VHOST_FILENAME'])); - //symlink dev folder and apache RootDirectory folder /var/www/uwithi/public + //symlink dev folder and apache RootDirectory folder /var/www/app/public $this->execOrFail("ln -s ".trim($configValues['APP_FOLDER'])." ".trim($configValues['WEB_SERVER_APP_FOLDER'])); //restart apache if(trim($configValues['APP_WEBSERVER']) == "apache2") {