Backdrop 4 Good website.
git clone [email protected]:Backdrop4Good/backdrop4good.org.gitcd backdrop4good.org- Add in a
settings.phpto thewebdirectory. The file that points to the config (which is outside of thewebdirectory).wget https://github.com/backdrop/backdrop/raw/1.x/settings.php- Replace the config pointer lines with these:
$config_directories['active'] = '../config/active'; $config_directories['staging'] = '../config/staging';
lando start- Get a database from Backup and Migrate and import it into your local. After
downloading the DB put in the same directory as your
.lando.ymlfile (the project root). Then you can import the DB with:lando db-import <file.sql>
The bfg theme is using sass and gulp to manage css.
To compile and watch the sass files:
lando gulpDrush is available from within the web directory.
cd web- Clear cache:
lando drush cc all- Download a module
lando drush dl {module_name}- Make config changes in the Backdrop UI on your local dev environment.
- Once complete export the configuration:
lando drush bcex- Add and commit to git
- push up to github, pull down to server and then import the config
drush bcim