- Make new Forge Site
- Remove "public" Web Directory
- Check "Create Database" (you may want to do this for your staging site)
- Click "Add Site" (Wait for the site to finish to then configuration)
- Click your new site
- Click "Git Repository" (choose your provide, repository url, and what branch by deafult it is master)
- Click "Install Repository"
- Add the script below in the bottom
if [ -f artisan ]; then
php artisan october:up
fi
- ssh in you server and locate the site folder
- Run
php artisan key:generate
- Copy and Paste it to your env thru forge
- DONE! you may now open your