Artic api used simple shop
The poject is a simple webshop based on artic api.
-
Clone repository:
git clone https://github.com/vassdavid/artic-api-shop.git
-
Open folder:
cd artic-api-shop
-
Get docker submodule:
git submodule init; git submodule update --remote
-
Run
docker compose -f ./.docker/docker-compose.yml --env-file .env up -d
. -
Command to enter symfony container:
docker exec -it artic-api-shop-symfony /bin/sh
-
Composer install:
composer install
-
Set symfony:
php bin/console doctrine:database:create
php bin/console doctrine:schema:create
php bin/console doctrine:fixtures:load
php bin/console lexik:jwt:generate-keypair
docker compose -f ./.docker/docker-compose.yml down
PROJECT_NAME=artic-api-shop
SOURCE_DIR=../src
MYSQL_ROOT_PASSWORD=myrootpassword
MYSQL_DATABASE=symfony_db_dev
APP_ENV=dev
APP_DEBUG=1
NGINX_BACKEND_DOMAIN=artworkshop.dev
MYSQL_USER=app_user
MYSQL_PASSWORD=userpw