This a Symfony application, using Doctrine as ORM and Twig for templating.
- You need at least PHP 7.3 (CLI) plus a few common PHP extensions.
- You need a MySQL database.
- You have to have
composer
installed.
- Clone the repo
- Create a file
.env.local
with the following entry:DATABASE_URL="mysql://db_user:db_pass@127.0.0.1:3306/db_name?serverVersion=5.7"
. Replacedb_user
,db_pass
anddb_name
with the correct values. - Run
composer install
to install dependencies. - Run
bin/console doctrine:schema:update --dump-sql --force
to create the database schema. - Run
bin/console app:data:generate
to create the fake collections/jeweleryItems. - Run
php -S localhost:8080 -t public
. - Open http://localhost:8080 in your browser.