Skip to content

AllanBiville/LMDS-S

Repository files navigation

BADGES

Code Factor : CodeFactor

SYMFONY VERSION 5.4.2

COMPOSER VERSION 2.1.8

PHP VERSION 7.4.9

La Maison Du Smartphone

Description

La Maison Du Smartphone is an online website software, a PHP web application developed using the Symfony framework (version 5.4.2).

Its purpose is to show an image of the store, informing customers of certain new products, to offer a simple and practical quotation system, to contact the store, and to see the products for sale by the store.

Thanks to Symfony

Installation

1) Get all source files

2) Create database

Copy .env file to .env.local

Edit line DATABASE_URL="mysql://user:password@127.0.0.1:5432/lmds"

Execute command :

  • php bin/console doctrine:database:create
  • php bin/console doctrine:migrations:migrate
  • php bin/console doctrine:fixtures:load
  • php bin/console server:start

3) With your web browser open url where server is listening on

For example, with your browser open this page : http://localhost:8000 and GO !

Here is initial credentials of the admin user.

  • Username : admin
  • Password : admin

Here is initial credentials of the super-admin user.

  • Username : superadmin
  • Password : superadmin

4) Commande for testing

  • php bin/console doctrine:database:create --env=test

  • php bin/console doctrine:migrations:migrate -n --env=test

  • php bin/console doctrine:fixtures:load --env=test

  • php bin/phpunit --testdox