Skip to content

Commit

Permalink
Add installation guide to the README.md file
Browse files Browse the repository at this point in the history
  • Loading branch information
coldic3 committed Sep 4, 2023
1 parent 284dc64 commit 0d1a103
Showing 1 changed file with 37 additions and 2 deletions.
39 changes: 37 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,38 @@
# Portfolio Asset Network – Digitized Assets
# PANDA API

## Installation with Docker 🐋

> **_NOTE:_** The installation assumes that you have [Docker](https://docs.docker.com/get-docker/)
> and [Docker Compose](https://docs.docker.com/compose/install/) installed on your machine.
1. Clone the repo:
```sh
git clone [email protected]:coldic3/panda.git
```

2. Download the latest version of Docker images:
```sh
docker compose pull --include-deps
```

3. Build Docker images:
```sh
docker compose build --no-cache
```

4. Start the containers:
```sh
docker compose up -d
```

5. Generate the public and private keys used for signing JWT tokens:
```sh
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
'
```

Manage your assets with ease – just the way you want it thanks to no-limit scalability and expandability.

0 comments on commit 0d1a103

Please sign in to comment.