Merge branch 'main' of gitea.pangea.org:trustchain-oc1-orchestral/IdHub
This commit is contained in:
commit
6e4d38906d
16
README.md
16
README.md
|
@ -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
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in New Issue