Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Run and configure validator

    1. Create a virtual environment:

      Code Block

...

languagebash
    1. cd validator
      python3.10 -m venv venv # Create virtual environment
    2. Activate the virtual environment:
      - Windows: venv\Scripts\activate
      - Linux/macOS: source venv/bin/activate

    3. Install dependencies

      Code Block
      pip install -r requirements.txt
    4. Run the validator:

      Code Block
      flask --app api run
    5. Add the validator to .env:

      Code Block

...

...

    1. # DEGREE VALIDATOR
      VALIDATOR=<http://localhost:

...

    1. 50020>
  1. For any unused variables in your .env file, just leave them blank.

  2. Generate Prisma client and run web server:

...