Now that you have Shopware 6 up and running, what can you do with it?
From an outside view, how can you make Shopware 6 do stuff?
At first you might want to take a glance at the new Shopware 6 through your browser. There is a customer frontend (the Storefront) you can access through your host directly:
And there is an administration overview that you can access by adding
/admin to your host.
The default user and password are
The next user interface you should try is the command line interface. Here we have two different modes of
psh.phar. Just open a terminal and change your directory to the path you
installed Shopware 6 to.
PSH-Scripts live outside the application and add a convenience layer to many maintenance tasks.
To get a full list of all supported commands execute:
This will print a list of all actions with descriptions. Please note that some actions are context dependent.
For example the
docker actions are only working if you use the docker setup.
All default actions can be triggered by just providing the name of the action. So if you want to reinstall Shopware 6 just type:
> ./psh.phar install
Or if you want to rebuild the administration specifically just type:
> ./psh.phar administration:build
As a default PSH-Scripts do not need additional arguments to work - so the action name is always sufficient.
The next interface is the
console. This represents maintenance tasks of the various functions of Shopware 6.
To get started execute:
This prints a list of all available commands. All commands of Shopware 6 are of the format
and require various parameters or options.
Executing a single command looks like this:
To get help information about required and optional parameters, you can always suffix your call
--help to get a full list of supported commands.
Now that you have a idea how to execute the various Shopware 6 stacks, we will briefly point you to the sources directories. But keep in mind that there are entire documents describing the directory structure of Shopware 6.
|Backend||The symfony stack of the core application|
|Storefront||The symfony stack of the storefront|
|Storefront template||The template for the storefront|
|Administration||The symfony stack of the administration|
|Administration application||The Vue.js administration|
Although these credentials are far from hardcoded and may of course vary for production installations, these are the defaults created during installation of the dev system.
Look around! Add products, trigger orders, register customers and use Shopware 6. Maybe you want to add debug statements to some sources to get a deeper insight and if you are ready to learn more hop over to the Developer guide.