Before proceed, you may want to follow up
- Send Welcome Email Notification with Event and Listener and
- Enable Account Activation in Order to Login to the System
Create a middleware
# Change to the project directory | |
cd $FORGE_SITE_PATH | |
# Turn on maintenance mode | |
php artisan down || true | |
# Pull the latest changes from the git repository | |
# git reset --hard | |
# git clean -df | |
git pull origin $FORGE_SITE_BRANCH |
/* | |
* MyClass | |
*/ | |
var MyClass = function (options) | |
{ | |
/* | |
* Variables accessible | |
* in the class | |
*/ |
# location - C:\Windows\System32\drivers\etc | |
127.0.0.1 localhost | |
# add the following line (to allow to enter laravel-admin.dev in your browser) | |
127.0.0.1 laravel-admin.dev |
Before proceed, you may want to follow up
Create a middleware
Before proceed, you may want to follow up Send Welcome Email Notification with Event and Listener.
Create new migration script to add activation_token
and activated_at
column in users
table.
php artisan make:migration add_activation_column --table=users
# stop script on error signal | |
set -e | |
# remove old deployment folders | |
if [ -d "/home/forge/deploy" ]; then | |
rm -R /home/forge/deploy | |
fi | |
if [ -d "/home/forge/backup" ]; then | |
rm -R /home/forge/backup | |
fi |