Update README with wheel instructions

This commit is contained in:
Elahi-cs 2024-01-26 11:31:49 +01:00
parent b96338d8b9
commit c84f6b66d9
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
- Python 3.x
- Python >= 3.11.2
### Installation
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:
```
python -m venv venv
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
```
4. Run migrations:
5. Run migrations:
```
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
```
6. Start the development server:
7. Start the development server:
```
python manage.py runserver
```