/devdocs

Shopware Developer Documentation

Primary LanguagePHP

Shopware Development Documentation

Install

This site is generated with Sculpin, a PHP based static site generator.

First you have to install Sculpin and run the install command in the project directory. This can be done via the init.sh shell script in the project root.

./init.sh

This will download sculping and install the required dependencies.

Running the website locally

./watch.sh

This will start a local webserver at http://localhost:8000/.

Automatic Plugin Packaging

Foreach Plugin in the exampleplugins directory a corresponding ZIP package will be created that can be installed via the shopware plugin manager. It is important to put the plugin into the proper Frontend/Backend/Core subdirectory.

Example

exampleplugins/Frontend/SwagSloganOfTheDay/ will result in exampleplugins/SwagSloganOfTheDay.zip in the generated output directory. Please not that the subdirectory is not part of the resulting directory/filename.