Skip to content

Commit

Permalink
Add Laravel installation guide
Browse files Browse the repository at this point in the history
  • Loading branch information
YHuniv15 committed Jun 21, 2024
1 parent c68d947 commit b64f2b4
Show file tree
Hide file tree
Showing 2 changed files with 50 additions and 5 deletions.
12 changes: 7 additions & 5 deletions docs/source/index.rst
Original file line number Diff line number Diff line change
@@ -1,16 +1,18 @@
.. laravel_documentation documentation master file, created by
sphinx-quickstart on Fri Jun 21 10:53:16 2024.
.. Laravel Documentation documentation master file, created by
sphinx-quickstart on Fri Jun 25 10:34:51 2021.
You can adapt this file completely to your liking, but it should at least
contain the root `toctree` directive.
Welcome to laravel_documentation's documentation!
=================================================
Welcome to Laravel Documentation's documentation!
================================================

Contents:

.. toctree::
:maxdepth: 2
:caption: Contents:


installation

Indices and tables
==================
Expand Down
43 changes: 43 additions & 0 deletions docs/source/installation.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
Installation de Laravel
=======================

Introduction
------------

Laravel est un framework PHP robuste et moderne pour le développement d'applications web.

Pré-requis
-----------

Assurez-vous d'avoir les éléments suivants installés sur votre machine :

- PHP >= 7.3
- Composer
- Un serveur web tel qu'Apache ou Nginx

Installation
------------

Suivez les étapes ci-dessous pour installer Laravel :

1. **Installer Composer**

Si Composer n'est pas déjà installé, vous pouvez le télécharger depuis [getcomposer.org](https://getcomposer.org).

2. **Créer un nouveau projet Laravel**

Exécutez la commande suivante pour créer un nouveau projet Laravel :

.. code-block:: bash
composer create-project --prefer-dist laravel/laravel nom-du-projet
3. **Configurer le serveur web**

Configurez votre serveur web pour qu'il pointe vers le répertoire `public` de votre nouveau projet Laravel.

Vérification
------------

Accédez à votre projet via l'URL configurée sur votre serveur web. Vous devriez voir la page d'accueil de Laravel.

0 comments on commit b64f2b4

Please sign in to comment.