Skip to content

Instantly share code, notes, and snippets.

@erikhansen
Last active October 17, 2019 22:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save erikhansen/3e7be0bb16248b2d225f1295fff20a65 to your computer and use it in GitHub Desktop.
Save erikhansen/3e7be0bb16248b2d225f1295fff20a65 to your computer and use it in GitHub Desktop.
Kraken Ink Template Readme

Kraken ExtensionName Extension

Description

Give a brief description of the extension here.

Usage Instructions

  • List any usage and deployment instructions
  • Consider including any preference overrides that may conflict with other extension

Known Issues

  • Include any known issues, such as incompatibilities with other extension

Installation Instructions

Option 1 - Install extension using Composer (default approach)

composer config repositories.kraken/extension-name git git@bitbucket.org:krakencommerce/kraken_extensionname.git
composer require kraken/extension-name:dev-master
bin/magento module:enable --clear-static-content Kraken_ExtensionName
bin/magento setup:upgrade
bin/magento cache:flush

Option 2 - Install extension by copying files into project (only if the project requires it for some reason)

mkdir -p app/code/Kraken/ExtensionName
git archive --format=tar --remote=git@bitbucket.org:krakencommerce/kraken_extensionname.git master | tar xf - -C app/code/Kraken/ExtensionName/
bin/magento module:enable --clear-static-content Kraken_ExtensionName
bin/magento setup:upgrade
bin/magento cache:flush

Uninstallation Instructions

These instructions work regardless of how you installed the extension:

bin/magento module:disable --clear-static-content Kraken_ExtensionName
rm -rf app/code/Kraken/ExtensionName
composer remove kraken/extension-name
mr2 db:query 'DELETE FROM `setup_module` WHERE `module` = "Kraken_ExtensionName"'
bin/magento cache:flush
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment