Francis is the standard Theodo project boilerplate.
This boilerplate is used to bootstrap every new Theodo projects. If you have an existing project and want to benefit from the latest Theodo stack components, use Steve instead.
git clone [email protected]:theodo/francis.git YOUR_PROJECT
cd YOUR_PROJECT
rm -fr .git
cp api/.env.dist api/.env
docker-compose up -d --buildThen visit localhost.
Fixtures are located in the api/fixtures folder.
They are handled by the AliceBundle.
In order to use fixtures in your backend integration tests, simply put a RefreshDatabaseTrait or a ReloadDatabaseTrait in your test class.
Read more about these traits.
You can load the provided fixtures in your local database to speed up developments:
docker-compose exec php bin/console hautelook:fixtures:load