- composer
- php >= 7.1
- webpack
- mysql >= 5.6
- nodeJS (8.11.1 and above)
- run
git clone https://github.com/kamil-rybczynski/cart.gitcommand - run
docker-compose up --build - log in to app container bash
docker exec -it cart_app /bin/bash - run
cp .env .env.localand type your environment variables, eg. valid mysql port for the Docker - run
composer install - run
php bin/console doctrine:migrations:migrateto add database tables - run
php bin/console doctrine:fixtures:loadto load default products, payments, shipments and discount codes data - tap
exitcommand and exit from container terminal - log in to node container bash
docker exec -it cart_node /bin/bash - run
npm install - run
npm run dev - enjoy that shit in web browser on
http://localhost:8000URL
- run
git clone https://github.com/kamil-rybczynski/cart.gitcommand - run
composer installcommand - run
npm installcommand to install frontend dependencies - add database on your mysql server
- copy
.envfile to.env.localand type your local environment variables, eg. mysql connection - run
php bin/console doctrine:migrations:migrateto add database tables - run
php bin/console doctrine:fixtures:loadto load default products, payments, shipments and discount codes data - map host to
publicfolder
- run
docker-compose up - enjoy that shit in web browser on
http://localhost:8000URL