Skip to content

faso-dev/symfony-master-class-tp-e-commerce

Repository files navigation

Symfony Shop Project

This is a Symfony-based project for managing an online shop.

Requirements

  • PHP 8.2 or higher
  • Composer
  • Symfony CLI (optional but recommended)

Installation

  1. Clone the repository:

    git clone git@github.com:faso-dev/symfony-master-class-tp-e-commerce.git
    cd symfony-shop
  2. Install PHP dependencies:

    composer install
  3. Set up environment variables:

    Copy the .env file and adjust the environment variables as needed:

    cp .env .env.local
  4. Set up the database:

    Update your database configuration in the .env.local file, then run:

    php bin/console doctrine:database:create
    php bin/console doctrine:migrations:migrate
  5. Load fixtures:

    php bin/console doctrine:fixtures:load

Running the Application

To start the Symfony server, run:

symfony serve

Then, open your browser and go to http://localhost:8000.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages