Skip to content

Instantly share code, notes, and snippets.

@chopf
Created August 15, 2015 19:27
Show Gist options
  • Save chopf/79e5a00af74466e4d97b to your computer and use it in GitHub Desktop.
Save chopf/79e5a00af74466e4d97b to your computer and use it in GitHub Desktop.
deployment steps
backed up SoniCloud
removed all laravel tables from SoniCloud
sudo php ~/sonicucode/laravel.php --update --branch='master'
- failed due to lack of SoniCloud.sonicu_companies
imported sql from test server.
sudo php ~/sonicucode/laravel.php --update --branch='master'
removed sonicu_companies table
php artisan migrate
php artisan db:seed
sudo php ~/sonicucode/laravel.php --update --branch='master'
- to regenerate sites.json
sudo chmod -R 777 /var/www/laravel/
added basic .env
logged in and navigated to /scripts/migrate-users
sudo php ~/sonicucode/website.php --type ALL --branch='master'
made a few small fixes and tested
- laravel logout button on user maint page.
- legacy login redirected to laravel login instead of index
- page title in laravel
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment