mirror of
https://github.com/cytopia/devilbox.git
synced 2025-05-03 01:03:07 +00:00
Merge pull request #422 from cytopia/specify-magento
Documentation: Specify Magento version
This commit is contained in:
commit
208cd03a11
@ -34,10 +34,10 @@
|
|||||||
Official Laravel Documentation <img src="https://raw.githubusercontent.com/cytopia/icons/master/11x11/ext-link.png" />
|
Official Laravel Documentation <img src="https://raw.githubusercontent.com/cytopia/icons/master/11x11/ext-link.png" />
|
||||||
</a>
|
</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">
|
<a target="_blank" href="https://devdocs.magento.com/guides/v2.2/install-gde/bk-install-guide.html">
|
||||||
Official Magento Documentation <img src="https://raw.githubusercontent.com/cytopia/icons/master/11x11/ext-link.png" />
|
Official Magento 2 Documentation <img src="https://raw.githubusercontent.com/cytopia/icons/master/11x11/ext-link.png" />
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
.. |ext_lnk_example_phalcon_documentation| raw:: html
|
.. |ext_lnk_example_phalcon_documentation| raw:: html
|
||||||
|
@ -2,16 +2,16 @@
|
|||||||
|
|
||||||
.. _example_setup_magento:
|
.. _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.
|
served via http and https.
|
||||||
|
|
||||||
.. seealso:: |ext_lnk_example_magento_documentation|
|
.. seealso:: |ext_lnk_example_magento2_documentation|
|
||||||
|
|
||||||
|
|
||||||
**Table of Contents**
|
**Table of Contents**
|
||||||
@ -43,7 +43,7 @@ It will be ready in eight simple steps:
|
|||||||
|
|
||||||
1. Enter the PHP container
|
1. Enter the PHP container
|
||||||
2. Create a new VirtualHost directory
|
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
|
4. Symlink webroot directory
|
||||||
5. Add MySQL database
|
5. Add MySQL database
|
||||||
6. Setup DNS record
|
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`
|
.. 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
|
.. code-block:: bash
|
||||||
|
|
||||||
devilbox@php-7.1.20 in /shared/httpd $ cd my-magento
|
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
|
devilbox@php-7.1.20 in /shared/httpd/my-magento $ git clone https://github.com/magento/magento2
|
||||||
|
|
||||||
# Checkout the latest stable git tag
|
# 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 $ 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
|
# 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:
|
How does the directory structure look after installation:
|
||||||
|
|
@ -151,7 +151,7 @@ host is ready to be served with your custom domain.
|
|||||||
examples/setup-drupal
|
examples/setup-drupal
|
||||||
examples/setup-joomla
|
examples/setup-joomla
|
||||||
examples/setup-laravel
|
examples/setup-laravel
|
||||||
examples/setup-magento
|
examples/setup-magento2
|
||||||
examples/setup-phalcon
|
examples/setup-phalcon
|
||||||
examples/setup-photon-cms
|
examples/setup-photon-cms
|
||||||
examples/setup-presta-shop
|
examples/setup-presta-shop
|
||||||
|
Loading…
x
Reference in New Issue
Block a user