Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
rustagir committed May 24, 2024
1 parent bddcbaa commit 5465f48
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions source/php-frameworks/symfony.txt
Original file line number Diff line number Diff line change
Expand Up @@ -293,3 +293,41 @@ Paste the following code into the ``browse.html.twig`` file:
{% endfor %}
{% endblock %}

Start your Symfony Application
------------------------------

Run the following command from the application root directory to start
your PHP built-in web server:

.. code-block:: bash

symfony server:start

After the server starts, it outputs the following message:

.. code-block:: none
:copyable: false

[OK] Web server listening
The Web server is using PHP FPM 8.3.4
http://127.0.0.1:8000

Check failure on line 313 in source/php-frameworks/symfony.txt

View workflow job for this annotation

GitHub Actions / TDBX Vale rules

[vale] reported by reviewdog 🐶 [MongoDB.Time24h2Digits] Show the hours, minutes, and seconds with two digits each, even if the leading digit is 0 ('1:8'). Raw Output: {"message": "[MongoDB.Time24h2Digits] Show the hours, minutes, and seconds with two digits each, even if the leading digit is 0 ('1:8').", "location": {"path": "source/php-frameworks/symfony.txt", "range": {"start": {"line": 313, "column": 24}}}, "severity": "ERROR"}

Open the URL http://127.0.0.1:8000/restaurant/browse in your web browser.

Check failure on line 315 in source/php-frameworks/symfony.txt

View workflow job for this annotation

GitHub Actions / TDBX Vale rules

[vale] reported by reviewdog 🐶 [MongoDB.Time24h2Digits] Show the hours, minutes, and seconds with two digits each, even if the leading digit is 0 ('1:8'). Raw Output: {"message": "[MongoDB.Time24h2Digits] Show the hours, minutes, and seconds with two digits each, even if the leading digit is 0 ('1:8').", "location": {"path": "source/php-frameworks/symfony.txt", "range": {"start": {"line": 315, "column": 29}}}, "severity": "ERROR"}
The page shows a list of restaurants and details about each of them.

Next Steps
----------

Congratulations on completing the Quick Start tutorial!

After you complete these steps, you have a Symfony web application that
connects to your MongoDB deployment, runs a query on
the sample data, and renders a retrieved result.

Learn more about Symfony and MongoDB by viewing the following resources:

- `Build PHP Symfony Apps with MongoDB Atlas Workshop
<https://mongodb-developer.github.io/symfony-mongodb-rental-workshop/>`__
- `Symfony Documentation <https://symfony.com/doc/current/index.html>`__
- `Doctrine ODM Documentation
<https://www.doctrine-project.org/projects/doctrine-mongodb-odm/en/latest/index.html>`__

0 comments on commit 5465f48

Please sign in to comment.