mirror of
https://github.com/cytopia/devilbox.git
synced 2025-04-10 12:29:56 +00:00
Merge pull request #688 from mjherraiz/patch-1
Update docs to newest symfony version
This commit is contained in:
commit
ca6f7f56ac
@ -40,15 +40,14 @@ The following configuration will be used:
|
||||
Walk through
|
||||
============
|
||||
|
||||
It will be ready in seven simple steps:
|
||||
It will be ready in six simple steps:
|
||||
|
||||
1. Enter the PHP container
|
||||
2. Create a new VirtualHost directory
|
||||
3. Install Symfony
|
||||
4. Symlink webroot directory
|
||||
5. Enable Symfony prod (``app.php``)
|
||||
6. Setup DNS record
|
||||
7. Visit http://my-symfony.loc in your browser
|
||||
5. Setup DNS record
|
||||
6. Visit http://my-symfony.loc in your browser
|
||||
|
||||
|
||||
1. Enter the PHP container
|
||||
@ -78,7 +77,7 @@ The vhost directory defines the name under which your project will be available.
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
devilbox@php-7.0.20 in /shared/httpd $ mkdir my-symfony
|
||||
devilbox@php-7.2.29 in /shared/httpd $ mkdir my-symfony
|
||||
|
||||
.. seealso:: :ref:`env_tld_suffix`
|
||||
|
||||
@ -90,14 +89,14 @@ Navigate into your newly created vhost directory and install Symfony with ``symf
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
devilbox@php-7.0.20 in /shared/httpd $ cd my-symfony
|
||||
devilbox@php-7.0.20 in /shared/httpd/my-symfony $ symfony new symfony
|
||||
devilbox@php-7.2.29 in /shared/httpd $ cd my-symfony
|
||||
devilbox@php-7.2.29 in /shared/httpd/my-symfony $ symfony new symfony
|
||||
|
||||
How does the directory structure look after installation:
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
devilbox@php-7.0.20 in /shared/httpd/my-symfony $ tree -L 1
|
||||
devilbox@php-7.2.29 in /shared/httpd/my-symfony $ tree -L 1
|
||||
.
|
||||
└── symfony
|
||||
|
||||
@ -118,16 +117,16 @@ to its expected path.
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
devilbox@php-7.0.20 in /shared/httpd/my-symfony $ ln -s symfony/web/ htdocs
|
||||
devilbox@php-7.2.29 in /shared/httpd/my-symfony $ ln -s symfony/public/ htdocs
|
||||
|
||||
How does the directory structure look after symlinking:
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
devilbox@php-7.0.20 in /shared/httpd/my-sw $ tree -L 1
|
||||
devilbox@php-7.2.29 in /shared/httpd/my-sw $ tree -L 1
|
||||
.
|
||||
├── symfony
|
||||
└── htdocs -> symfony/web
|
||||
└── htdocs -> symfony/public
|
||||
|
||||
2 directories, 0 files
|
||||
|
||||
@ -141,16 +140,7 @@ path and points to the frameworks entrypoint.
|
||||
* Docker Toolbox and :ref:`howto_docker_toolbox_and_the_devilbox_windows_symlinks`
|
||||
|
||||
|
||||
5. Enable Symfony prod (``app.php``)
|
||||
------------------------------------
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
devilbox@php-7.0.20 in /shared/httpd/my-symfony $ cd symfony/web
|
||||
devilbox@php-7.0.20 in /shared/httpd/my-symfony/symfony/web $ ln -s app.php index.php
|
||||
|
||||
|
||||
6. DNS record
|
||||
5. DNS record
|
||||
-------------
|
||||
|
||||
If you **have** Auto DNS configured already, you can skip this section, because DNS entries will
|
||||
@ -171,7 +161,7 @@ host operating systems ``/etc/hosts`` file (or ``C:\Windows\System32\drivers\etc
|
||||
* :ref:`setup_auto_dns`
|
||||
|
||||
|
||||
7. Open your browser
|
||||
6. Open your browser
|
||||
--------------------
|
||||
|
||||
Open your browser at http://my-symfony.loc or https://my-symfony.loc
|
||||
|
Loading…
x
Reference in New Issue
Block a user