Skip to content

Latest commit

 

History

History
47 lines (37 loc) · 1.04 KB

README.md

File metadata and controls

47 lines (37 loc) · 1.04 KB

⚠️ WORK IN PROGRESS

PANDA API

Portfolio Arrangement: Nest of Digitalized Assets

Installation with Docker 🐋

NOTE: The installation assumes that you have Docker and Docker Compose installed on your machine.

Quick

make install

Step by step

  1. Clone the repo:

    git clone [email protected]:coldic3/panda.git
  2. Download the latest version of Docker images:

    docker compose pull --include-deps
  3. Build Docker images:

    docker compose build --no-cache
  4. Start the containers:

    docker compose up -d
  5. Generate the public and private keys used for signing JWT tokens:

    docker compose exec php sh -c '
        set -e
        apk add openssl
        php bin/console lexik:jwt:generate-keypair
        setfacl -R -m u:www-data:rX -m u:"$(whoami)":rwX config/jwt
        setfacl -dR -m u:www-data:rX -m u:"$(whoami)":rwX config/jwt
    '