Skip to content

Commit

Permalink
Merge pull request #661 from UTDNebula/fix-readme
Browse files Browse the repository at this point in the history
docs: fix readme
  • Loading branch information
akevinge authored Sep 12, 2023
2 parents b054a1f + ec1adf6 commit 496ae51
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,11 @@ npm install
npx prisma migrate dev
```

5. Setting up an auth provider. You need at least one of these to log in. We recommend you only add Discord for convenience.
5. Request `PLATFORM_DATABASE_URL` from someone on the team.

6. Set `NEXTAUTH_URL` to `http://localhost:3000` and `NEXTAUTH_SECRET=abc123`

7. Setting up an auth provider. You need at least one of these to log in. We recommend you only add Discord for convenience.

<details>
<summary>
Expand Down Expand Up @@ -136,12 +140,13 @@ npm install

</details>

6. Run and configure validator
8. Run and configure validator

```bash
cd validator
python3.10 -m venv venv # Create virtual environment
source venv/bin/activate # Use virtual enviornment
pip install -r requirements.txt # Install dependencies
flask --app api run
```

Expand All @@ -152,7 +157,7 @@ npm install
VALIDATOR=http://localhost:5000
```

7. Generate `Prisma` client and run web server:
9. Generate `Prisma` client and run web server:

```bash
npm run prisma:generate
Expand Down

0 comments on commit 496ae51

Please sign in to comment.