I'm a developer-turned-business owner who loves to explore the right tools for the job. I enjoy writing and documenting my journey. I use code as one of the tools to solve real problems.
You might want to fix your front matter at the top of your post. I think you removed --- before title and after cover_image.
I see in video 4 you use "sudo git clone" because your user doesn't have access to the www folder. Don't do this, just fix the permissions of the folder, so your current user can access them as well as www-data.
Then a few minutes later you're using "sudo PHP artisan key:generate". This is not be done either. You should be able to run basic commands as your current user without using sudo.
Well, You are right, I should have added the user to the www-data group, But we do chown all the files back to www-data so I think it should be fine, sorry :) And thank you for pointing that out
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
You might want to fix your front matter at the top of your post. I think you removed --- before title and after cover_image.
I see in video 4 you use "sudo git clone" because your user doesn't have access to the www folder. Don't do this, just fix the permissions of the folder, so your current user can access them as well as www-data.
Then a few minutes later you're using "sudo PHP artisan key:generate". This is not be done either. You should be able to run basic commands as your current user without using sudo.
Well, You are right, I should have added the user to the www-data group, But we do chown all the files back to www-data so I think it should be fine, sorry :) And thank you for pointing that out