Skip to content

Commit

Permalink
📝 Generic changes to put it on github
Browse files Browse the repository at this point in the history
  • Loading branch information
tchartron committed Oct 24, 2020
1 parent 943fc45 commit 0f78c1f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down
4 changes: 2 additions & 2 deletions src/WebAppMaker/Configuration/Config.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
//
/**
Expand Down Expand Up @@ -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") {
Expand Down

0 comments on commit 0f78c1f

Please sign in to comment.