ASU Libraries fork of asu_events
- add VSC for github repo in composer.json
- Add patch for entity_embed in the composer.json so that you can have more theme suggestions
"drupal/entity_embed": { "Add theme suggestions - https://www.drupal.org/project/entity_embed/issues/3136142": "https://www.drupal.org/files/issues/2020-05-13/add-theme-suggestions-3136142-6.patch" },
- Composer require the module (will add dependencies) -
composer require 'asuwebplatforms/webspark-module-asu_events:dev-master'
- Enable the module (will enable dependencies) -
drush pm-enable asu_events
- Download the font awesome icon picker library in the libraries directory -
drush fa:download-iconpicker
- Clone the github repo from here:
git clone https://github.com/asulibraries/webspark-module-asu_events
- Add a second upstream for the upstream github repo:
git remote add upstream https://github.com/ASUWebPlatforms/webspark-module-asu_events
- You can fetch upstream by doing
git fetch upstream
and merge upstream withgit merge upstream/master
- If there are merge conflicts, address them and commit and push back up.
composer update asuwebplatforms/webspark-module-asu_events
will pull the latest commits on the master branch from our fork in github.- if there are changes in the config direction, then do a partial config import with something like
lando drush config:import --partial --source /app/web/modules/composer/webspark-module-asu_events/config/install