Skip to content

Commit

Permalink
minor #16232 [Maintenance] Update docker docs (Wojdylak)
Browse files Browse the repository at this point in the history
This PR was merged into the 1.12 branch.

Discussion
----------

| Q               | A
|-----------------|-----
| Branch?         | 1.12
| Bug fix?        | no
| New feature?    | no
| BC breaks?      | no
| Deprecations?   | no
| Related tickets | N/A
| License         | MIT


Commits
-------

6ca4a6a [Maintenance] Update docker docs
3fa947e [Maintenance] Remove unnecessary line
  • Loading branch information
GSadee committed May 10, 2024
2 parents fb0ecb2 + 3fa947e commit 0773297
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 48 deletions.
17 changes: 7 additions & 10 deletions docs/book/installation/installation_with_docker.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ testing, and implementation. Docker significantly reduces the delay between writ

.. note::

Make sure you have `Docker <https://docs.docker.com/get-docker/>`_ installed on your local machine.
Make sure you have `Docker <https://docs.docker.com/get-docker/>`_ and `make <https://www.gnu.org/software/make/manual/make.html/>`_ installed on your local machine.

Project Setup
-------------
Expand All @@ -29,15 +29,12 @@ with Sylius-Standard content.
Development
-----------

`Sylius Standard <https://github.com/Sylius/Sylius-Standard>`_ comes with the `multi-stage build <https://docs.docker.com/develop/develop-images/multistage-build/>`_.
You can execute it via the ``docker compose up -d`` command in your favorite terminal. Please note that the speed of building images
and initializing containers depends on your local machine and internet connection - it may take some time. Then enter ``localhost`` in your browser or execute ``open localhost`` in your terminal.
`Sylius Standard <https://github.com/Sylius/Sylius-Standard>`_ comes with the `docker compose <https://docs.docker.com/compose/>`_ configuration.
You can start the development environment via the ``make init`` command in your favorite terminal. Please note that the speed of building images
and initializing containers depends on your local machine and internet connection - it may take some time.
Then enter ``localhost`` in your browser or execute ``open http://localhost/`` in your terminal.

.. code-block:: bash
docker compose up -d
open localhost
.. tip::

:doc:`Learn how to deploy Sylius-Standard production ready Docker Compose configuration </cookbook/deployment/docker>`
make init
open http://localhost/
33 changes: 0 additions & 33 deletions docs/cookbook/deployment/docker.rst

This file was deleted.

1 change: 0 additions & 1 deletion docs/cookbook/deployment/map.rst.inc
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
* :doc:`/cookbook/deployment/platform-sh`
* :doc:`/cookbook/deployment/cron-jobs`
* :doc:`/cookbook/deployment/docker`
1 change: 0 additions & 1 deletion docs/cookbook/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,6 @@ Deployment

deployment/platform-sh
deployment/cron-jobs
deployment/docker

.. include:: /cookbook/deployment/map.rst.inc

Expand Down
3 changes: 0 additions & 3 deletions docs/getting-started-with-sylius/deployment.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,11 @@ application deployment into the server. We believe, that it should be as easy an

Check out our deployment cookbooks:


.. tip::

- 👉 :doc:`How to deploy Sylius to Platform.sh? </cookbook/deployment/platform-sh>`
- 🐳 :doc:`How to deploy Sylius with Docker </cookbook/deployment/docker>`

Learn more about the deployment platforms
-----------------------------------------

* `Platform.sh <https://docs.platform.sh>`_
* `Docker <https://docker.com/>`_

0 comments on commit 0773297

Please sign in to comment.