Skip to content

Instantly share code, notes, and snippets.

@TirolJPN
Last active May 2, 2021 11:21
Show Gist options
  • Save TirolJPN/93f8727d5263702a2ebd4313345350b9 to your computer and use it in GitHub Desktop.
Save TirolJPN/93f8727d5263702a2ebd4313345350b9 to your computer and use it in GitHub Desktop.
# This shell commands will re-install ec-cube plugin from your git remote repository.
# A command example is as follows.
# $ ./install_my_plugin.sh https://github.com/HogeUser/HogePlugin HogePlugin xxxxxxxxxxxxxxxxxxx
bin/console eccube:plugin:uninstall --code=$2
cd app/Plugin
rm -rf ./$2
git clone $1
cd $2
git checkout $3
cd ../../../
bin/console eccube:plugin:install --code=$2
bin/console eccube:plugin:enable --code=$2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment