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.
---------------------------------------------------------------
WEB HOSTING
I've been hosting ALL of my own websites (and many of my client's websites) on virtual private servers from Linode for years. I love them. The server I deployed to in this video is on Linode!
They have FAST servers for as low as $5/month. Here's my referral link if you want to check them out: [ Ссылка ]
---------------------------------------------------------------
PROJECT RESOURCES
✅ Follow Craft's docs for securing your site: [ Ссылка ]
✅ Read more about hosting Craft CMS here: [ Ссылка ]
---------------------------------------------------------------
MY DESK SETUP GEAR
⌨️ Keyboard – [ Ссылка ]
🖱 Mouse – [ Ссылка ]
🖥 Monitor – [ Ссылка ]
🦾 Monitor Mount/Arm – [ Ссылка ]
🎤 Microphone – [ Ссылка ]
🦾 Microphone Arm – [ Ссылка ]
🎛 Microphone Processor – [ Ссылка ]
⚡️ Thunderbolt Dock – [ Ссылка ]
🔊 Speakers – [ Ссылка ]
🎧 Headphones – [ Ссылка ]
🪑 Chair – [ Ссылка ]
---------------------------------------------------------------
Intro music produced by Connor Curley
Ещё видео!