Skip to content

Latest commit

 

History

History
26 lines (23 loc) · 1.28 KB

README.md

File metadata and controls

26 lines (23 loc) · 1.28 KB

author: Michał Powała
source repository: Shop

README

  1. For business requirements go to Task
  2. For API Documentation go to API Doc
  3. For Architecture/Design notes go to Architecture

First time

  1. Install docker and Docker Compose
  2. Clone repository
  3. Go to repository root directory
  4. Build and run containers: docker-compose up -d
  5. Get into cli docker container: docker-compose exec cli bash
  6. Install dependencies: composer install
  7. Generate schema: php bin/console doctrine:schema:create
  8. Run unit tests: bin/console/phpunit
  9. Start symfony server: symfony server:start -d
  10. Play with API with some kind of a Client, address is: http://127.0.0.1:8000

Not first time

  1. Go to repository root directory
  2. Run containers: docker-compose up -d
  3. Get into cli docker container: docker-compose exec cli bash
  4. Start symfony server: symfony server:start -d
  5. Play with API with some kind of a Client, address is: http://127.0.0.1:8000