Update and expand getting started steps, improve formatting and consistency

(as far as presuming DDEV)
This commit is contained in:
benjamin melançon 2025-01-25 21:56:37 -05:00
parent 2542f4a907
commit c43e265be2

View file

@ -10,8 +10,10 @@ See [DEPLOYMENT.md](DEPLOYMENT.md) for easy deploy instructions with Ahoy.
One time: One time:
``` ```shell
git clone git@gitlab.com:agaric/sites/geo.git mkdir -p ~/Projects/geo
cd ~/Projects/geo
git clone git@git.agaric.com:geo/geo-coop.git
cd geo cd geo
``` ```
@ -20,17 +22,19 @@ the following steps to work.
Whenever you want a fresh start: Whenever you want a fresh start:
```shell
```
git pull git pull
ddev start ddev start
ddev composer update ddev composer update
ddev . drush -y site:install minimal --existing-config ddev drush -y site:install minimal --existing-config
``` ```
Note: If you receive a `Permission denied (publickey).` error it means you need to copy your key into the DDEV container by running `ddev auth ssh`. Note: If you receive a `Permission denied (publickey).` error it means you need to copy your key into the DDEV container by running `ddev auth ssh`.
## Pull live content down for development ## Pull live content down for development
```shell
ddev drush sql-sync @live @self
ddev drush -y rsync --exclude-paths=css:js:php --verbose @live:%files/ @self:%files
``` ```