Merge branch 'main' of gitea.pangea.org:trustchain-oc1-orchestral/IdHub

This commit is contained in:
Cayo Puigdefabregas 2024-01-29 12:05:57 +01:00
commit 6e4d38906d
1 changed files with 10 additions and 6 deletions

View File

@ -18,32 +18,36 @@ The application's backend is responsible for issuing credentials upun user reque
### Prerequisites ### Prerequisites
- Python 3.x - Python >= 3.11.2
### Installation ### Installation
1. Clone this repository: 1. Clone this repository:
``` ```
git clone [FINAL IdHub repository LINK] git clone https://gitea.pangea.org/trustchain-oc1-orchestral/IdHub
``` ```
2. (Recommended but optional) Create and activate a virtual environment: 2. (Recommended but optional) Create and activate a virtual environment:
``` ```
python -m venv venv python -m venv venv
source venv/bin/activate source venv/bin/activate
``` ```
3. Install the required packages: 3. Install the DIDKit wheel
```
wget https://gitea.pangea.org/trustchain-oc1-orchestral/ssikit_trustchain/raw/branch/master/didkit-0.3.2-cp311-cp311-manylinux_2_34_x86_64.whl
```
4. Install the required packages:
``` ```
pip install -r requirements.txt pip install -r requirements.txt
``` ```
4. Run migrations: 5. Run migrations:
``` ```
python manage.py migrate python manage.py migrate
``` ```
5. Optionally you can install a minumum data set: 6. Optionally you can install a minumum data set:
``` ```
python manage.py initial_datas python manage.py initial_datas
``` ```
6. Start the development server: 7. Start the development server:
``` ```
python manage.py runserver python manage.py runserver
``` ```