Overview
Installing Craft Nitro
In this video, I guide you through the process of installing and configuring Craft Nitro on your Mac. By following these steps, you can set up a local development environment for Craft CMS effortlessly. We first installed Multipass to run Craft Nitro. We then copied and executed the bash terminal code to download the necessary components. After setting up the local environment, we configured Nitro with PHP 7.4 and MySQL. Finally, we created a new database, installed Composer, and set up Craft CMS. The result was a fully functional local Craft installation, complete with access to the admin panel.
Summary
- Installing Multipass: The tutorial begins with the installation of Multipass, which is required to run Craft Nitro. This setup allows us to create a virtualized development environment.
- Configuring Nitro: After installing Multipass, we open the terminal and run specific commands to initialize Nitro, setting it up with PHP 7.4 and MySQL.
- Copying Bash Commands: We copy the provided bash terminal code and execute it, which starts downloading the necessary files onto our computer.
- Sudo Permissions: If you encounter permission issues, prepend
sudo
to the command to ensure it runs with administrative privileges. - Database Creation: Using SQL Pro, we connect to the Nitro server and create a new database named
craft-new
, which will be used for the Craft CMS installation. - Installing Composer: Composer is installed within Nitro using the terminal command
nitro install composer
, which is essential for managing dependencies. - Craft CMS Installation: We download Craft CMS, unzip the folder, and place it in our projects directory. Terminal commands are used to navigate and list directory contents.
- Adding Local Domains: Nitro allows us to add local domains ending with
.test
. We configure this using terminal commands and update the hosts file with the appropriate IP address. - Editing .env File: Hidden files are revealed and edited to include the Nitro IP address and database credentials, ensuring Craft CMS connects to the correct database.
- Final Configuration: The Craft CMS installation is completed through the terminal, setting up the site name and URL, and accessing the admin panel to finalize the configuration.
Highlights
👨💻 Multipass Installation: We started by installing Multipass, which is essential for running Craft Nitro.
🖥️ Terminal Commands: Various terminal commands were used to set up and configure the environment, including downloading and initializing Nitro, and adding domains.
📁 Database Setup: We created a new database using SQL Pro and configured Craft CMS with the necessary database credentials.
Overview
Installing Craft Nitro
In this video, I guide you through the process of installing and configuring Craft Nitro on your Mac. By following these steps, you can set up a local development environment for Craft CMS effortlessly. We first installed Multipass to run Craft Nitro. We then copied and executed the bash terminal code to download the necessary components. After setting up the local environment, we configured Nitro with PHP 7.4 and MySQL. Finally, we created a new database, installed Composer, and set up Craft CMS. The result was a fully functional local Craft installation, complete with access to the admin panel.
Summary
- Installing Multipass: The tutorial begins with the installation of Multipass, which is required to run Craft Nitro. This setup allows us to create a virtualized development environment.
- Configuring Nitro: After installing Multipass, we open the terminal and run specific commands to initialize Nitro, setting it up with PHP 7.4 and MySQL.
- Copying Bash Commands: We copy the provided bash terminal code and execute it, which starts downloading the necessary files onto our computer.
- Sudo Permissions: If you encounter permission issues, prepend
sudo
to the command to ensure it runs with administrative privileges. - Database Creation: Using SQL Pro, we connect to the Nitro server and create a new database named
craft-new
, which will be used for the Craft CMS installation. - Installing Composer: Composer is installed within Nitro using the terminal command
nitro install composer
, which is essential for managing dependencies. - Craft CMS Installation: We download Craft CMS, unzip the folder, and place it in our projects directory. Terminal commands are used to navigate and list directory contents.
- Adding Local Domains: Nitro allows us to add local domains ending with
.test
. We configure this using terminal commands and update the hosts file with the appropriate IP address. - Editing .env File: Hidden files are revealed and edited to include the Nitro IP address and database credentials, ensuring Craft CMS connects to the correct database.
- Final Configuration: The Craft CMS installation is completed through the terminal, setting up the site name and URL, and accessing the admin panel to finalize the configuration.
Highlights
👨💻 Multipass Installation: We started by installing Multipass, which is essential for running Craft Nitro.
🖥️ Terminal Commands: Various terminal commands were used to set up and configure the environment, including downloading and initializing Nitro, and adding domains.
📁 Database Setup: We created a new database using SQL Pro and configured Craft CMS with the necessary database credentials.