FULL STACK COURSE (React, Flask, & PostgreSQL):
There are many ways to deploy a Craft CMS website, but several people have asked me how to do it over FTP, so here’s my answer!
0:00 – Intro
0:19 – Step 1: Migrate the database
2:42 – Step 2: Create an .env file for production
4:34 – Step 3: Upload all files via FTP
6:24 – Step 4: Set file permissions
8:06 – Step 5: Create an Apache VirtualHost file
10:22 – How to debug problems
12:18 – Check Craft’s system requirements
13:00 – PHP configuration changes
16:20 – Increase the Craft CMS file upload limit
18:08 – Enabling Admin changes on production (temporarily)
19:03 – Final thoughts – let me know if you need help!
I would *generally recommend* only using FTP to get your website assets and templates uploaded, then using the Composer CLI to install Craft CMS itself and all of it’s dependencies directly on the server. But this video demonstrates a Composer-free and Git-free method of deploying a Craft CMS website.
Another approach is to use Git-based managed hosting services from companies like Fortrabbit. These allow you to push your entire website to production (and staging) via Git. Fortrabbit even has a useful database migration tool to make that part easier.
I’ve been hosting ALL of my own websites (and many of my client’s websites) on virtual private servers from…
This post was automatic generated with this wp-automatic-plugin