Closed bayoehafiz closed 5 years ago
@bayoehafiz change environment to dev
instead of prod
@ad3n in dockerfile SYMFONY_ENV already is dev but still meet the error
@ad3n in dockerfile SYMFONY_ENV already is dev but still meet the error
Did you installed the vendor again? (composer install
)
Maybe the doctrine fixtures
not installed yet .
@MacroHongJian : share your code here
when i run docker-compose exec app bin/console doctrine:fixtures:load --env=dev -n
all goes fine
> purging database
> loading KejawenLab\Application\SemartHris\DataFixtures\RegionFixtures
> loading KejawenLab\Application\SemartHris\DataFixtures\CompanyFixtures
> loading KejawenLab\Application\SemartHris\DataFixtures\DepartmentFixtures
> loading KejawenLab\Application\SemartHris\DataFixtures\ContractFixtures
> loading KejawenLab\Application\SemartHris\DataFixtures\EducationTitleFixtures
> loading KejawenLab\Application\SemartHris\DataFixtures\EducationalInstituteFixtures
> loading KejawenLab\Application\SemartHris\DataFixtures\JobLevelFixtures
> loading KejawenLab\Application\SemartHris\DataFixtures\HolidayFixtures
> loading KejawenLab\Application\SemartHris\DataFixtures\ReasonFixtures
> loading KejawenLab\Application\SemartHris\DataFixtures\SalaryComponentFixtures
> loading KejawenLab\Application\SemartHris\DataFixtures\ShiftmentFixtures
> loading KejawenLab\Application\SemartHris\DataFixtures\CityFixtures
> loading KejawenLab\Application\SemartHris\DataFixtures\CompanyDepartmentFixtures
> loading KejawenLab\Application\SemartHris\DataFixtures\JobTitleFixtures
> loading KejawenLab\Application\SemartHris\DataFixtures\EmployeeFixtures
User baru telah dibuat!!!
Username: MUHSURYA8701
Password: 1234567890
it shows like this , is it right ?
Got this error when running
php bin/console doctrine:fixtures:load
There are no commands defined in the "doctrine:fixtures" namespace.
Did you mean one of these?
doctrine
doctrine:cache
doctrine:database
doctrine:generate
doctrine:mapping
doctrine:query
doctrine:schema