Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

There are no commands defined in the "doctrine:fixtures" namespace. #42

Open
veikoon opened this issue Jan 5, 2023 · 0 comments
Open

Comments

@veikoon
Copy link
Contributor

veikoon commented Jan 5, 2023

Votix/.env

Line 17 in 56b4d9d

APP_ENV=prod

docker-compose run --rm votix make install_dev

php bin/console doctrine:fixtures:load --no-interaction

                                                                                                                                                 
  There are no commands defined in the "doctrine:fixtures" namespace.                                                                            
                                                                                                                                                 
  Did you mean one of these?                                                                                                                     
      doctrine                                                                                                                                   
      doctrine:cache                                                                                                                             
      doctrine:database                                                                                                                          
      doctrine:mapping                                                                                                                           
      doctrine:migrations                                                                                                                        
      doctrine:query                                                                                                                             
      doctrine:schema                                                                                                                            
                                                                                                                                                 
  You may be looking for a command provided by the "DoctrineFixturesBundle" which is currently not installed. Try running "composer require doc  
  trine/doctrine-fixtures-bundle --dev".                                                                                                         
                                                                                                                                                 

make[1]: *** [Makefile:9: reset] Error 1
make[1]: Leaving directory '/srv'
make: *** [Makefile:14: install_dev] Error 2

Par défaut l'environnement est configuré en prod dans le fichier .env mais le Makefile lance une installation en environnement de dev.
--> Mettre l'env dev par défaut. Ajouter une référence vers le wiki https://github.com/ClubNix/Votix/wiki/Configuring-Votix pour les modifications à faire si env en prod.

veikoon added a commit that referenced this issue Jan 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant