geo-coop/README.md

1.1 KiB

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 for easy deploy instructions with Ahoy.

Getting started

One time:

mkdir -p ~/Projects/geo
cd ~/Projects/geo
git clone git@git.agaric.com:geo/geo-coop.git
cd geo

Install DDEV for the following steps to work.

Whenever you want a fresh start:

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

ddev drush sql-sync @live @self
ddev drush -y rsync --exclude-paths=css:js:php --verbose @live:%files/ @self:%files

Compile CSS

ddev npm run sass-dev

Or when ready to commit for production deploy:

ddev npm run sass-prod