In this video, I guide you step by step to setup your local WordPress development environment using Laravel Valet and WP CLI. You will learn how to :
Use Homebrew to install MacOS packages
Use Laravel Valet to serve your local sites
Install a local database
Use WP CLI to perform WordPress actions from the command line
Create a bash script to automate your WordPress sites creation process
🎉 Get OxyProps while it is on LTD !
OxyProps: https://oxyprops.com
🔗 Links
The repo: https://github.com/OxyProps/valet-wpc...
⌚ Timestamps
00:00 - Introduction
00:45 - The target result - automatic wordpress website creation
04:58 - What is Laravel Valet ?
07:00 - Installing Homebrew.
08:40 - Installing PHP
09:08 - Installing Composer
09:51 - Installing Laravel Valet
11:20 - Define a parked folder and test Valet
14:00 - Installing the MariaDB database
16:40 - Installing WP-CLI Valet commands
17:44 - Try creating a WordPress site
18:47 - Try destroying a Website from the command line
20:15 - Automate things with a bash script
22:18 - Describe the automated process
25:45 - Automate folders navigation
26:40 - Automate the website creation with a dynamic name
30:22 - Try our automatic creation script
31:30 - Secure the local site with https
31:50 - Install themes from our zip files
36:20 - Activate theme license from CLI. The Bricks example.
39:50 - Define settings from CLI. The Bricks example.
43:00 - Activate, delete and update themes from the CLI.
44:50 - Try our script with automatic site creation and theme activation.
46:02 - Install plugins from our zip files
46:35 - Delete plugins from the CLI
46:55 - Install plugins from WP repo from the CLI
47:25 - Activate plugin licenses from CLI. OxyProps / Meta Box examples.
49:00 - Activate and update plugins from the CLI
49:30 - Open the Website from the CLI
50:10 - Try the script with plugins activation
51:00 - Improve the script with custom username and password.
55:05 - Generate a random password with OpenSSL
59:00 - Use passwordless login with a magic link
1:02:50 - Define default values in wp-config with config.yml
1:06:05 - Share you local site publicly with Expose
#cssframework #oxygenbuilder #OxyProps
___
Resources :
Homebrew: https://brew.sh/
Composer: https://getcomposer.org/
Laravel Valet: https://laravel.com/docs/9.x/valet
MariaDB: https://mariadb.com/
Sequel-ACE: https://sequel-ace.com/
WordPress CLI: https://wp-cli.org/
WP-CLI Valet: https://aaemnnost.tv/wp-cli-commands/...
OpenSSL: https://www.openssl.org/
WP-CLI Login: https://aaemnnost.tv/wp-cli-commands/...
Expose: https://expose.dev/
___
Come hang out with other OxyProps users ans Oxygen lovers in our Facebook Community
💬 / oxyprops
___
My editor:
VS Code - https://code.visualstudio.com/
My Terminal Enhancements:
OhMyZSH: https://ohmyz.sh/
___
Find OxyProps on the internet :
Facebook: / oxyprops
Twitter: / oxy_props
___
And don't forget that if you can design it with WordPress, you can style it with OxyProps!
Смотрите видео Create local WordPress sites in seconds with Laravel Valet and WP-CLI онлайн без регистрации, длительностью online в хорошем качестве. Это видео добавил пользователь OxyProps 23 Ноябрь 2022, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 2,422 раз и оно понравилось 77 людям.