27
loading...
This website collects cookies to deliver better user experience
npm install
and npm run start
.Note: Apple Silicon M1 (ARM64) is supported in v1.17-alpha1+ (edge versions).
brew install drud/ddev-edge/ddev
or brew install drud/ddev/ddev
for a stable version.git clone https://github.com/example/example-site
and cd into it cd example-site
.ddev config
. Note: All ddev commands need to be launched from the project root folder!
Note: If you haven't run the mkcert -install
command before, now is the time.
Project can be reached at https://yourprojectname.ddev.site https://127.0.0.1:64124
. But before accessing your site, a database needs to be added. In my case, I was provided with a raw SQL dump in a form of a .sql file which I could easily add to the project using ddev import-db --src=/path/to/file/db.sql
. Another thing to note - since the project I cloned was previously configured manually, there was a databases configuration left in sites/default/settings.php
which needed to be removed since ddev created its own databases config in settings.ddev.php
.ddev describe
command.brew install homebrew/cask/docker
// or visit
https://docs.docker.com/docker-for-mac/install/
brew install drud/ddev-edge/ddev
// or
brew install drud/ddev/ddev
git clone https://github.com/example/example-site && cd example-site
ddev config
ddev composer install
ddev import-db --src=/path/to/file/db.sql
ddev launch
and done!