How to migrate deployed laravel project to Amazon webserver
I have deployed a laravel project on an Amazon webserver. I used my git repository to deploy it. I updated the composer on the server via the sync.sh file. Now I need to migrate using the artisan command. Here is my sync.sh file
#!/bin/bash
sudo chmod -R a+w /var/www/****serverName***/public_html/*projectName*
sudo php /usr/bin/composer --working-dir=/var/www/*serverName*/public_html/*projectName*/ update
+3
source to share