...
Run and configure validator
Create a virtual environment:
Code Block
...
language | bash |
---|
cd validator python3.10 -m venv venv # Create virtual environment
Activate the virtual environment:
- Windows:venv\Scripts\activate
- Linux/macOS:source venv/bin/activate
Install dependencies
Code Block pip install -r requirements.txt
Run the validator:
Code Block flask --app api run
Add the validator to
.env
:Code Block
...
...
# DEGREE VALIDATOR VALIDATOR=<http://localhost:
...
50020>
For any unused variables in your
.env
file, just leave them blank.Generate
Prisma
client and run web server:
...