Skip to content

Voltash/TestApi

Repository files navigation

RUN app locally

  1. Go to app home directory and run:
 cp .env.dist .env
  1. Add configuration for db and app secret

  2. Go to app home directory and run:

 docker-compose up -d
  1. Install composer dependencies:
 docker-compose exec php sh -c 'composer instal'
  1. run migration:
 docker-compose exec php sh -c 'php bin/console do:mi:mi'
  1. Generate keys for jwt if first it first run
docker-compose exec php sh -c '
    set -e
    apt-get install openssl
    php bin/console lexik:jwt:generate-keypair
'
  1. In browser go to http://localhost/api/docs

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published