Merge pull request #422 from cytopia/specify-magento

Documentation: Specify Magento version
This commit is contained in:
cytopia 2018-11-12 09:20:15 +01:00 committed by GitHub
commit 208cd03a11
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 17 additions and 17 deletions

View File

@ -34,10 +34,10 @@
Official Laravel Documentation <img src="https://raw.githubusercontent.com/cytopia/icons/master/11x11/ext-link.png" />
</a>
.. |ext_lnk_example_magento_documentation| raw:: html
.. |ext_lnk_example_magento2_documentation| raw:: html
<a target="_blank" href="https://devdocs.magento.com/guides/m1x/install/installing.html">
Official Magento Documentation <img src="https://raw.githubusercontent.com/cytopia/icons/master/11x11/ext-link.png" />
<a target="_blank" href="https://devdocs.magento.com/guides/v2.2/install-gde/bk-install-guide.html">
Official Magento 2 Documentation <img src="https://raw.githubusercontent.com/cytopia/icons/master/11x11/ext-link.png" />
</a>
.. |ext_lnk_example_phalcon_documentation| raw:: html

View File

@ -2,16 +2,16 @@
.. _example_setup_magento:
*************
Setup Magento
*************
****************
Setup Magento 2
****************
This example will use ``git`` and ``composer`` to install Magento from within the Devilbox PHP container.
This example will use ``git`` and ``composer`` to install Magento 2 from within the Devilbox PHP container.
After completing the below listed steps, you will have a working Magento setup ready to be
After completing the below listed steps, you will have a working Magento 2 setup ready to be
served via http and https.
.. seealso:: |ext_lnk_example_magento_documentation|
.. seealso:: |ext_lnk_example_magento2_documentation|
**Table of Contents**
@ -43,7 +43,7 @@ It will be ready in eight simple steps:
1. Enter the PHP container
2. Create a new VirtualHost directory
3. Install Magento via ``git`` and ``composer``
3. Install Magento 2 via ``git`` and ``composer``
4. Symlink webroot directory
5. Add MySQL database
6. Setup DNS record
@ -82,24 +82,24 @@ The vhost directory defines the name under which your project will be available.
.. seealso:: :ref:`env_tld_suffix`
3. Install Magento
------------------
3. Install Magento 2
--------------------
Navigate into your newly created vhost directory and install Magento with ``git``.
Navigate into your newly created vhost directory and install Magento 2 with ``git``.
.. code-block:: bash
devilbox@php-7.1.20 in /shared/httpd $ cd my-magento
# Download Magento with git
# Download Magento 2 via git
devilbox@php-7.1.20 in /shared/httpd/my-magento $ git clone https://github.com/magento/magento2
# Checkout the latest stable git tag
devilbox@php-7.1.20 in /shared/httpd/my-magento $ cd magento2
devilbox@php-7.1.20 in /shared/httpd/my-magento $ git checkout 2.2.5
devilbox@php-7.1.20 in /shared/httpd/my-magento/magento2 $ git checkout 2.2.5
# Install dependencies with Composer
devilbox@php-7.1.20 in /shared/httpd/my-magento $ composer install
devilbox@php-7.1.20 in /shared/httpd/my-magento/magento2 $ composer install
How does the directory structure look after installation:

View File

@ -151,7 +151,7 @@ host is ready to be served with your custom domain.
examples/setup-drupal
examples/setup-joomla
examples/setup-laravel
examples/setup-magento
examples/setup-magento2
examples/setup-phalcon
examples/setup-photon-cms
examples/setup-presta-shop