From 432ce021624e5d58f056e6557fde5c9e850ce892 Mon Sep 17 00:00:00 2001 From: clashicly <35277077+clashicly@users.noreply.github.com> Date: Mon, 21 Jan 2019 18:57:56 -0500 Subject: [PATCH 1/5] Correct paths in instructions. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 7470f681e..721019a2f 100644 --- a/README.md +++ b/README.md @@ -74,8 +74,8 @@ then configure the keys file then configure the web app --- - sudo mv /var/web/serverconfig.sample.php /var/web/serverconfig.php - sudo vim /var/web/serverconfig.php + sudo mv /var/www/web/serverconfig.sample.php /var/www/web/serverconfig.php + sudo vim /var/www/web/serverconfig.php ... need to change YAAMP_DBNAME, YAAMP_DBUSER, and YAAMP_DBPASSWORD ... also set YAAMP_RENTAL to false, YAAMP_SITE_NAME to preferred name, and configure YAAMP_ADMIN_EMAIL and YAAMP_ADMIN_IP From c78e412c2f2fa9b94a1f5e10e72c8311e63719b2 Mon Sep 17 00:00:00 2001 From: clashicly <35277077+clashicly@users.noreply.github.com> Date: Mon, 21 Jan 2019 19:11:15 -0500 Subject: [PATCH 2/5] fix misspelled script ./blocks.sh --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 721019a2f..80b27a816 100644 --- a/README.md +++ b/README.md @@ -92,7 +92,7 @@ run scripts in screen ... switch screen ... ./loop2.sh ... switch screen ... - ./block.sh + ./blocks.sh Now your webserver should be running! Check it in your web browser From 1ee6ef6b105a955e093289315410e2f58c4bc1ba Mon Sep 17 00:00:00 2001 From: clashicly <35277077+clashicly@users.noreply.github.com> Date: Mon, 21 Jan 2019 19:21:18 -0500 Subject: [PATCH 3/5] add mkdir -p for Sia stratum server section --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 80b27a816..92379a407 100644 --- a/README.md +++ b/README.md @@ -112,6 +112,7 @@ add the following to your ~/.bashrc build Sia stratum server --- git clone https://github.com/ToastPool/Sia.git + mkdir -p ~/.go/src/github.com/NebulousLabs mv ./Sia ~/.go/src/github.com/NebulousLabs/Sia cd ~/.go/src/github.com/NebulousLabs/Sia make dependencies From 8e7c79dd9edca4591cfc44dc9cca6da8200b78f4 Mon Sep 17 00:00:00 2001 From: clashicly <35277077+clashicly@users.noreply.github.com> Date: Mon, 21 Jan 2019 19:48:37 -0500 Subject: [PATCH 4/5] If Nginx doesn't have write permissions of assets. framework and logs, you will get a blank page! --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 92379a407..921228a73 100644 --- a/README.md +++ b/README.md @@ -84,6 +84,10 @@ make sure everything works cd bin ./yiimp checkup +give webserver ownership of certain folders +--- + chown -R www-data /var/www/web/assets /var/www/web/framework /var/www/web/log + run scripts in screen --- cd /var/www/web From 7af36d297f0a0137ab41375ab8a99b0aa46c2beb Mon Sep 17 00:00:00 2001 From: clashicly <35277077+clashicly@users.noreply.github.com> Date: Mon, 21 Jan 2019 19:50:56 -0500 Subject: [PATCH 5/5] spaces to tab for proper formatting of readme. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 921228a73..cf380e977 100644 --- a/README.md +++ b/README.md @@ -86,7 +86,7 @@ make sure everything works give webserver ownership of certain folders --- - chown -R www-data /var/www/web/assets /var/www/web/framework /var/www/web/log + chown -R www-data /var/www/web/assets /var/www/web/framework /var/www/web/log run scripts in screen ---