- Version: 1.0
- Release Date: 21th December 2012
- License: MIT (see LICENSE-MIT)
Shopware CLI Tools is a toolset designed to install Shopware 4 using the Shell (bash). Along with this abiliy we've built tools which should help you with everyday operations such as clearing the shop cache or backing up the live shop.
The script provides the following functionality:
- Installing Shopware 4 via the shell through files.shopware.de
- Setting up the basic shop configuration
- Clearing the shop cache including the staging system
- Creating a backup of the database and the shop files
- Installing the demo dataset from files.shopware.de
You could install the toolset to any location you want, but we recommend installing the script into /usr/local/bin
. If you're using any other location than /usr/local/bin
, please add the new location to your $PATH
git clone https://github.com/ShopwareAG/Shopware4-CLI-Tools.git && cd Shopware4-CLI-Tools && sudo mv sw4-cli-tools /usr/local/bin/sw4-cli-tools && sudo mv .sw4-cli-tools /usr/local/bin/.sw4-cli-tools && sudo chmod -R 777 /usr/local/bin/sw4-cli-tools && sudo chmod -R 777 /usr/local/bin/.sw4-cli-tools
cd /usr/local/bin && curl -#L https://github.com/ShopwareAG/Shopware4-CLI-Tools/tarball/master | sudo tar -xzv --strip-components 1 --exclude={README.md,LICENSE-MIT} && sudo chmod -R 777 /usr/local/bin/sw4-cli-tools && sudo chmod -R 777 /usr/local/bin/.sw4-cli-tools
Here’s an example that adds /your/new/path
to the $PATH
, which is needed if you want to install the toolset into any other directory than /usr/local/bin
:
export PATH="/your/new/path:$PATH"
If you've installed the toolset in /usr/local/bin
, you simply could run the script in any directory using:
sw4-cli-tools
Before you start any operation please modify the config.ini
using the menu option [6] Edit config.ini with "vim"
according to your needs.
- 2012-12-20 - Initial release