Skip to content

francoiscoche/symrecipe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SymRecipe

App did with Symfony and Docker. Made to learn.

Inspiration from @Emilien.Gts tutorial


Developpement in progress ...


Configure and run localy the project


Clone the project

git clone git@github.com:francoiscoche/symrecipe.git

Run the docker-compose

docker-compose build
docker-compose up -d

Copy the vendor folder to the container (did for performance purpose)

cd .\project\
docker cp vendor php8-symrecipe:/var/www/project
docker cp var php8-symrecipe:/var/www/project

Log into the PHP container

docker exec -it jobme-php8 bash

Start the server

symfony serve -d

Create the database or update tables

symfony console doctrine:database:create
symfony console make:migration
syngony console doctrine:migration:migrations

The application is available at http://127.0.0.1:9000

Create fixtures

php bin/console doctrine:fixtures:load

Captch v3 configuration (form contact page)

Generate private keys : https://www.google.com/recaptcha/admin/create

  • reCAPTCHA version 3
  • Domains : localhost

Add the key in .env file

RECAPTCHA3_KEY=
RECAPTCHA3_SECRET=

Unit and functional tests

Test files are located in project/tests. To run it :

php bin/phpunit --testdox tests/Unit/
php bin/phpunit --testdox tests/Functionnal/

Author

From a Tuto by @Emilien.Gts

Adapted by @francoiscoche

About

Symfony training project from a tutorial

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published