Prerequisites
Make sure you have the following installed before continuing:
| Tool | Install Guide | Verify |
|---|---|---|
| DDEV | DDEV installation guide | ddev --version |
| Git (Option A) | Git installation guide | git --version |
1. Get the code
After purchase, you automatically get access to the Webhaven repository.
Option A - Git clone (recommended)
Clone the Webhaven project repository:
git clone https://github.com/webhaven-io/webhaven.git webhaven-demo
cd webhaven-demoOption B - Download ZIP
Download the latest release from your client dashboard page, unpack it, and navigate into the folder.
2. Run the installer
ddev installThis starts DDEV, installs the Composer dependencies and opens the installer in your browser. The first run may take a few minutes while Docker pulls images.
3. Set up your site
Once the script completes, your browser will open automatically. You'll be guided through a short setup:
- Enter your site name
- Choose an email and password
- Webhaven automatically installs, this takes a moment
- You're logged in automatically and ready to go
Want to reinstall from scratch?
Empty the database and run the installer again:
ddev drush sql:drop -y
ddev installCommon reasons to start over:
- You want a clean site after trying things out.
- The installer stopped partway, for example with "An AJAX HTTP error occurred". The site may still open, but it isn't fully set up.
Deleting the project folder doesn't reset the site. DDEV keeps the database separately, so the old site comes back on the next ddev start.
Not sure the last install finished? ddev drush state:get install_task prints done when it did.
Next
Start exploring Webhaven, create your first page, create your own theme or switch on dev mode. See Webhaven commands.