From 45048d9bb6abcc391e629ebe36419f3042837b1d Mon Sep 17 00:00:00 2001 From: Robert Date: Sun, 1 Jan 2023 05:36:32 -0500 Subject: [PATCH] updated README for sudo --- README | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/README b/README index 2b16958..50ccae3 100644 --- a/README +++ b/README @@ -11,18 +11,18 @@ cd frames git clone https://git.mysnippetsofcode.com/tts/tts_framework ``` -HTML Purifier Cache folder needs web server write access: +### Install the vendor files: ``` -cd /var/www/frames/tts_framework/vendor/ezyang/htmlpurifier/library -chgrp www-data HTMLPurifier/DefinitionCache/Serializer +cd /var/www/frames/tts_framework +composer install ``` -### Install the vendor files: +HTML Purifier Cache folder needs web server write access: ``` -cd /var/www/frames/tts_framework -composer install +cd /var/www/frames/tts_framework/vendor/ezyang/htmlpurifier/library +sudo chgrp www-data HTMLPurifier/DefinitionCache/Serializer ``` ### Compile the framework!!! @@ -51,15 +51,15 @@ git clone https://git.mysnippetsofcode.com/tts/tts_project ``` #### Ensure folders group has read/write/execute permissions first (chmod g+rwx), then do: -cd /var/www/tts_project -chgrp www-data logs/ +cd /var/www/tts_project/src +sudo chgrp www-data logs/ chmod g+s logs/ cd configs -chgrp www-data ex/ mockup/ live/ +sudo chgrp www-data ex/ mockup/ live/ chmod g+s ex/ mockup/ live/ cd ../services -chgrp www-data ex/ mockup/ live/ +sudo chgrp www-data ex/ mockup/ live/ chmod g+s ex/ mockup/ live/ ```