Installation Using Docker - application setup¶
This guide expects that you have already set up your Docker environment. If you have not already done that check the Installation using Docker.
1. Set up the Shopsys Platform application¶
Now that the Docker environment is prepared we can setup the application itself.
1.1. Connect into terminal of the Docker container¶
docker-compose exec php-fpm bash
1.2. Install dependencies and configure parameters¶
During composer installation there will be installed 3-rd party software as dependencies of Shopsys Platform with licenses that are described in document Open Source License Acknowledgements and Third-Party Copyrights
1.3. Create databases¶
php phing db-create test-db-create
In this step you were using multiple Phing targets.
More information about what Phing targets are and how they work can be found in Console Commands for Application Management (Phing Targets)
1.4. Build the application¶
php phing build-demo-dev-quick error-pages-generate
During the execution of
build-demo-dev phing target, there will be installed 3-rd party software as dependencies of Shopsys Platform by composer and npm with licenses that are described in document Open Source License Acknowledgements and Third-Party Copyrights
2. See it in your browser!¶
Open http://127.0.0.1:8000/ to see running application.
You can also log in into the administration section on http://127.0.0.1:8000/admin/ with default credentials:
superadmin(the latter has access to advanced options)
If you need to inspect your application logs, use
docker-compose logs command.
For more information about logging see the separate article.
And now you can start building your application.