Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 8 additions & 10 deletions content/laravel-mongodb/current/source/get-started.txt
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ dependencies to a Laravel web application.
New to Laravel? Check out our bootcamp and documentation.
Build something amazing!

.. step:: Add a Laravel application encryption key
.. step:: Add {+odm-long+} to the dependencies

Navigate to the application directory you created in the previous
step:
Expand All @@ -141,15 +141,6 @@ dependencies to a Laravel web application.

cd {+quickstart-app-name+}

Run the following command to add the Laravel application encryption
key, which is required to encrypt cookies:

.. code-block:: bash

php artisan key:generate

.. step:: Add {+odm-long+} to the dependencies

Run the following command to add the {+odm-long+} dependency to
your application:

Expand Down Expand Up @@ -280,6 +271,13 @@ Configure Your MongoDB Connection

cp .env.example .env

Run the following command to add the Laravel application encryption
key, which is required to encrypt cookies:

.. code-block:: bash

php artisan key:generate

Open the ``.env`` file and add or edit the following variables
and values. Replace the ``<connection string>`` placeholder with
your connection string from the
Expand Down
18 changes: 8 additions & 10 deletions content/laravel-mongodb/upcoming/source/get-started.txt
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ dependencies to a Laravel web application.
New to Laravel? Check out our bootcamp and documentation.
Build something amazing!

.. step:: Add a Laravel application encryption key
.. step:: Add {+odm-long+} to the dependencies

Navigate to the application directory you created in the previous
step:
Expand All @@ -141,15 +141,6 @@ dependencies to a Laravel web application.

cd {+quickstart-app-name+}

Run the following command to add the Laravel application encryption
key, which is required to encrypt cookies:

.. code-block:: bash

php artisan key:generate

.. step:: Add {+odm-long+} to the dependencies

Run the following command to add the {+odm-long+} dependency to
your application:

Expand Down Expand Up @@ -280,6 +271,13 @@ Configure Your MongoDB Connection

cp .env.example .env

Run the following command to add the Laravel application encryption
key, which is required to encrypt cookies:

.. code-block:: bash

php artisan key:generate

Open the ``.env`` file and add or edit the following variables
and values. Replace the ``<connection string>`` placeholder with
your connection string from the
Expand Down