https://github.com/craftcms/tutorial-project
Tutorial demo project source.
https://github.com/craftcms/tutorial-project
Last synced: over 1 year ago
JSON representation
Tutorial demo project source.
- Host: GitHub
- URL: https://github.com/craftcms/tutorial-project
- Owner: craftcms
- Created: 2020-03-27T17:50:03.000Z (over 6 years ago)
- Default Branch: main
- Last Pushed: 2024-10-16T22:07:23.000Z (over 1 year ago)
- Last Synced: 2025-01-14T12:32:53.588Z (over 1 year ago)
- Language: Twig
- Size: 36.8 MB
- Stars: 9
- Watchers: 5
- Forks: 9
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# Craft CMS Tutorial Site
This repository represents the final state of our [Getting Started with Craft CMS](https://craftcms.com/docs/getting-started-tutorial/) tutorial.
## Usage
If you would like to start with a fully-functional project (or have an examplar at your fingertips), follow these steps:
1. **Clone the repository:** `git clone https://github.com/craftcms/tutorial-project.git`;
1. **Move into the directory:** `cd tutorial-project`;
1. **Boot up development environment:** `ddev start` (assuming you have [DDEV](https://craftcms.com/docs/5.x/install.html) installed);
1. **Install dependencies:** `ddev composer install`;
1. **Set a security key:** `ddev craft setup/security-key`;
1. **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 like `tutorial-final`, then try `ddev start` again.