Simple Symfony 4 shopping cart application. App boilerplate
git clone https://github.com/kamil-rybczynski/cart.git
commanddocker-compose up --build
docker exec -it cart_app /bin/bash
cp .env .env.local
and type your environment variables, eg. valid mysql port for the Dockercomposer install
php bin/console doctrine:migrations:migrate
to add database tablesphp bin/console doctrine:fixtures:load
to load default products, payments, shipments and discount codes dataexit
command and exit from container terminaldocker exec -it cart_node /bin/bash
npm install
npm run dev
http://localhost:8000
URLgit clone https://github.com/kamil-rybczynski/cart.git
commandcomposer install
commandnpm install
command to install frontend dependencies.env
file to .env.local
and type your local environment variables, eg. mysql connectionphp bin/console doctrine:migrations:migrate
to add database tablesphp bin/console doctrine:fixtures:load
to load default products, payments, shipments and discount codes datapublic
folderdocker-compose up
http://localhost:8000
URL