40 lines
983 B
Markdown
40 lines
983 B
Markdown
# GEO.coop README
|
|
|
|
This project is based on Drutopia, which means it is compatible with
|
|
existing and future Drutopia features. We will be diverging from
|
|
Drutopia for special functionality, however.
|
|
|
|
See [DEPLOYMENT.md](DEPLOYMENT.md) for easy deploy instructions with Ahoy.
|
|
|
|
## Getting started
|
|
|
|
One time:
|
|
|
|
```shell
|
|
mkdir -p ~/Projects/geo
|
|
cd ~/Projects/geo
|
|
git clone git@git.agaric.com:geo/geo-coop.git
|
|
cd geo
|
|
```
|
|
|
|
[Install DDEV](https://ddev.readthedocs.io/en/latest/#installation) for
|
|
the following steps to work.
|
|
|
|
Whenever you want a fresh start:
|
|
|
|
```shell
|
|
git pull
|
|
ddev start
|
|
ddev composer update
|
|
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`.
|
|
|
|
## 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
|
|
```
|
|
|