### Install and run MarvelsDB locally Source: https://github.com/zzorba/marvelsdb/blob/master/README.md Commands to set up a local MarvelsDB instance: clone the repo, install dependencies with Composer, create the database and schema, import card data from the JSON data repository, and start the development server. Requires PHP 7.4 and MySQL 8. ```bash composer install ``` ```bash composer self-update --1 ``` ```bash php bin/console doctrine:database:create ``` ```bash php bin/console doctrine:schema:create ``` ```bash php bin/console app:import:std path-to-marvelsdb-json-data/ ``` ```bash php bin/console server:run ``` -------------------------------- ### Additional useful commands for MarvelsDB Source: https://github.com/zzorba/marvelsdb/blob/master/README.md Commands for rebuilding minified JS files after changes and for viewing or executing database schema updates. ```bash composer install ``` ```bash php bin/console doctrine:schema:update --dump-sql ``` ```bash php bin/console doctrine:schema:update --force ```