Next
Existing Project
Navigate to your web projects folder. You can change the last term "overdog" – this will be the name of your project folder.
composer create-project 3ejoueur/overdog overdog
Once the project is created, go to the root of the project using your terminal and execute the following:
yarn install
If you're using MAMP Pro, make sure "Allow network access to MySQL" is checked in the MySQL tab.
In the .env file located at the root of your project, fill in the following details. You can leave the other variables empty for the time being and configure them later:
CRAFT_SYSTEM_NAME
— Project name - this will be visible in the Control Panel; enclose it in quotes.SITE_URL
— The main development URL of your host (without trailing slash).SITE_GROUP
— Name of the locale (language) group. Likely the project name.CRAFT_DB_DRIVER
— "mysql"CRAFT_DB_SERVER
— "localhost" or "127.0.0.1" (as an example).CRAFT_DB_PORT
— Commonly "3306" or "8889".CRAFT_DB_DATABASE
— Name of the database you created.CRAFT_DB_USER
— Username (possibly "root").CRAFT_DB_PASSWORD
— Password (possibly "root").CRAFT_DB_SCHEMA
— "public"CRAFT_DB_TABLE_PREFIX
— Database table prefix, typically left empty in most scenarios.In your project folder, execute the following in the terminal.
php craft setup/welcome
Set up your project with your provider.
Do not check "Initialize repository with a readme"; keep it entirely empty.