From eb512cdfaec68b420be4ba1b496170b375ae859f Mon Sep 17 00:00:00 2001 From: Wruczek Date: Sun, 6 Jan 2019 09:50:11 +0100 Subject: [PATCH] Updated [EN] Website Installation (markdown) --- [EN]-Website-Installation.md | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/[EN]-Website-Installation.md b/[EN]-Website-Installation.md index dcf3719..3c79525 100644 --- a/[EN]-Website-Installation.md +++ b/[EN]-Website-Installation.md @@ -68,23 +68,21 @@ exit 2. Choose how would you like to install TS-website: #### In a root folder (for example https://wruczek.tech) -**This will remove everything from the `html` folder!** ``` -cd /var/www -sudo rm -r html +cd /var/www/html sudo wget paste_the_release_zip_link_here -sudo unzip ts-website-release*.zip -sudo rm ts-website-release*.zip -mv ts-website html -sudo chown www-data:www-data -R html +sudo unzip ts-website-*.zip +sudo rm ts-website-*.zip +sudo mv -v ts-website/* . +sudo chown www-data:www-data -R . ``` #### In a sub-directory (for example https://wruczek.tech/ts-website) ``` cd /var/www/html sudo wget paste_the_release_zip_link_here -sudo unzip ts-website-release*.zip -sudo rm ts-website-release*.zip +sudo unzip ts-website-*.zip +sudo rm ts-website-*.zip sudo chown www-data:www-data -R ts-website ```