BADGES
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
- git clone https://github.com/AllanBiville/LMDS-S.git
- composer install
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
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
-
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