This demo is based on the penny-skeleton-app
This penny demo application is using the following components:
- doctrine/orm
- symfony/form
- symfony/http-foundation
- twig/twig
There are a couple of things you may want to configure like doctrine cache, twig cache and so on.
You can find them under the config/
folder.
Write down this section
Frontend
npm install
grunt dev
Composer
composer install
For more information please refer to: https://github.com/pennyphp/penny-classic-app#docker-nginxphp-fpm
cp docker/development/docker-compose.yml.development docker-compose.yml
docker-compose build
docker-compose up -d
docker exec -ti bookshelf_mysql_1 mysql -pmysupersecretrootpassword -e 'create database demoapp'
docker exec -ti bookshelf_fpm_1 bash -c 'cd bookshelf; vendor/bin/doctrine orm:schema-tool:create'