2019-07-19 10:20:03 -04:00
|
|
|
# GEO.coop README
|
2019-07-12 14:27:04 -04:00
|
|
|
|
2019-07-19 10:20:03 -04:00
|
|
|
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.
|
2019-07-12 14:27:04 -04:00
|
|
|
|
2021-08-12 17:51:44 -04:00
|
|
|
See [DEPLOYMENT.md](DEPLOYMENT.md) for easy deploy instructions with Ahoy.
|
|
|
|
|
2019-07-19 10:20:03 -04:00
|
|
|
## Getting started
|
2019-07-12 14:27:04 -04:00
|
|
|
|
2019-07-19 10:20:03 -04:00
|
|
|
One time:
|
2019-07-12 14:27:04 -04:00
|
|
|
|
2025-01-25 21:56:37 -05:00
|
|
|
```shell
|
|
|
|
mkdir -p ~/Projects/geo
|
|
|
|
cd ~/Projects/geo
|
|
|
|
git clone git@git.agaric.com:geo/geo-coop.git
|
2019-07-19 10:20:03 -04:00
|
|
|
cd geo
|
2019-07-12 14:27:04 -04:00
|
|
|
```
|
|
|
|
|
2019-07-19 10:20:03 -04:00
|
|
|
[Install DDEV](https://ddev.readthedocs.io/en/latest/#installation) for
|
|
|
|
the following steps to work.
|
|
|
|
|
|
|
|
Whenever you want a fresh start:
|
|
|
|
|
2025-01-25 21:56:37 -05:00
|
|
|
```shell
|
2019-07-19 10:20:03 -04:00
|
|
|
git pull
|
2019-07-19 10:21:09 -04:00
|
|
|
ddev start
|
2019-07-19 10:20:03 -04:00
|
|
|
ddev composer update
|
2025-01-25 21:56:37 -05:00
|
|
|
ddev drush -y site:install minimal --existing-config
|
2019-07-19 10:20:03 -04:00
|
|
|
```
|
2019-07-23 12:10:15 -05:00
|
|
|
|
2019-08-30 23:44:14 +00:00
|
|
|
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`.
|
2019-07-23 12:10:15 -05:00
|
|
|
|
2019-08-30 19:01:46 -04:00
|
|
|
## Pull live content down for development
|
|
|
|
|
2025-01-25 21:56:37 -05:00
|
|
|
```shell
|
|
|
|
ddev drush sql-sync @live @self
|
|
|
|
ddev drush -y rsync --exclude-paths=css:js:php --verbose @live:%files/ @self:%files
|
2019-08-30 19:01:46 -04:00
|
|
|
```
|
2019-07-30 15:51:53 -04:00
|
|
|
|