Skip to content

Commit

Permalink
deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
Pius Opoku-Fofie committed Mar 5, 2023
1 parent 08d20cc commit 868adc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ sed -i "s|APP_URL=.*|APP_URL=$appurl|g" .env || { echo "Sed command failed"; exi
sed -i 's|APP_NAME=.*|APP_NAME="Forsure Real Estate Ltd"|g' .env || { echo "Sed command failed"; exit 1; }

# using Spatie/laravel-site-map. Like you would mnuse unguard in Laravel to Seed
sudo php artisan sitemap:generate

## Finally set the right file and folder permissions
sudo chown -R www-data:www-data /var/www/html/"$foldername"/
Expand All @@ -62,6 +61,7 @@ sudo chmod -Rf 775 storage/ bootstrap/
# Run necessary Laravel commands
php artisan storage:link
sudo php artisan key:generate
sudo php artisan sitemap:generate

# Necessary Caches
php artisan config:cache
Expand Down

0 comments on commit 868adc4

Please sign in to comment.