-
Notifications
You must be signed in to change notification settings - Fork 3
Getting started
Note: this documentation always refers to docker and docker compose, never to sudo docker and sudo docker compose, for readability. Adapt the commands accordingly for your setup. We also use indifferently “host”, “host machine”, “laptop” or “workstation” to refer to the machine you’re using ce-dev on; and “guest”, “container” or “service” to refer to running containers. It will still work the same whether you actually use a laptop or not
Lets create a new Drupal 11 project. In a terminal cd to some convenient location, eg ~/Code or ~/Projects, and type:
ce-dev create
You’ll be prompted for a name for your project. We’ll use “hello” in this example. Keep it simple and short, and use only lowercase letters and numbers. This avoids issues when it’s later reused in various places (server name, database names, etc) that struggle with underscores or hyphens.
Pick “drupal11” as the project type.
This will generate a new “hello” directory, intialized as local git repo, with the following structure:
.
└── ce-dev
├── ansible
│ ├── deploy.yml
│ └── provision.yml
├── ce-dev.compose.prebuilt.yml
└── ce-dev.compose.yml