Skip to content

Instantly share code, notes, and snippets.

@MonrealRyan
Last active August 10, 2020 03:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MonrealRyan/fd76c5ebb3bd25d514a565d9e46ddab6 to your computer and use it in GitHub Desktop.
Save MonrealRyan/fd76c5ebb3bd25d514a565d9e46ddab6 to your computer and use it in GitHub Desktop.
Steps on how to deploy OctoberCMS in Laravel Forge from the repo (June 2020)
  1. Make new Forge Site
  2. Remove "public" Web Directory
  3. Check "Create Database" (you may want to do this for your staging site)
  4. Click "Add Site" (Wait for the site to finish to then configuration)
  5. Click your new site
  6. Click "Git Repository" (choose your provide, repository url, and what branch by deafult it is master)
  7. Click "Install Repository"
  8. Add the script below in the bottom
if [ -f artisan ]; then
    php artisan october:up
fi
  1. ssh in you server and locate the site folder
  2. Run php artisan key:generate
  3. Copy and Paste it to your env thru forge
  4. DONE! you may now open your
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment