https://github.com/ptomulik/jmc-ddev
Template DDEV project for JMC
https://github.com/ptomulik/jmc-ddev
Last synced: 3 months ago
JSON representation
Template DDEV project for JMC
- Host: GitHub
- URL: https://github.com/ptomulik/jmc-ddev
- Owner: ptomulik
- Created: 2022-01-24T11:09:14.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-10-26T19:20:08.000Z (over 2 years ago)
- Last Synced: 2025-01-18T02:28:31.794Z (5 months ago)
- Language: PHP
- Size: 12.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Contentia DDEV
==============Preparations
------------Clone this template
```bash
git clone https://github.com/ptomulik/jmc-ddev.git && cd jmc-ddev/
```Create ``.ddev/config.local.yaml`` to customize the installation for your
website:```bash
php tools/setup-ddev-project.php {projectname}
```adjust the config, if necessary, see [config.yaml documentation](https://ddev.readthedocs.io/en/stable/users/configuration/config_yaml/).
Clone your project into ``web/`` subdirectory:
```bash
git clone [email protected]:jmc/{projectname}.git web
```Start ddev docker containers:
```bash
ddev start
```Create database and populate it with inital data.
```bash
ddev import-db --src=./web/SQL_Base_start_structure.sql
ddev import-db --no-drop --src=./web/SQL_Base_start_data.sql
```Patch database for ddev
```bash
ddev exec .ddev/patch-contentia-db.sh
```