This repository represents the final state of our Getting Started with Craft CMS tutorial.
If you would like to start with a fully-functional project (or have an examplar at your fingertips), follow these steps:
- Clone the repository:
git clone https://github.com/craftcms/tutorial-project.git
; - Move into the directory:
cd tutorial-project
; - Boot up development environment:
ddev start
(assuming you have DDEV installed); - Install dependencies:
ddev composer install
; - Set a security key:
ddev craft setup/security-key
; - Import database::
ddev craft db/restore seed.sql
;
Run ddev launch
or ddev launch admin
to get started! The admin account included in seed.sql
has the username admin
and the password password
.
Note: If you created a new project while following the tutorial, you may encounter a project name conflict when starting DDEV. Change the
name
property in.ddev/config.yml
to something liketutorial-final
, then tryddev start
again.