Skip to content

Commit

Permalink
remove .env.example exampes and move into readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
burturt committed Jun 3, 2024
1 parent 904141c commit 47fbeda
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
JWT_TOKEN=random_string_here
POSTGRES_USER=boelter
POSTGRES_PASSWORD=boelter
POSTGRES_DB=boelter
JWT_TOKEN=
POSTGRES_USER=
POSTGRES_PASSWORD=
POSTGRES_DB=
ADMIN_PASSWORD=
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ A mini pop quiz game for CS 33, originally created by https://github.com/eado fo

## Setup

Make a copy of `.env.example` into `.env.`. Set a value for each:

- `JWT_TOKEN` should be some very long random secret string.
- `POSTGRES_*` self explanatory, just pick something
- `ADMIN_PASSWORD` password needed to login to the host instance. User password is just `desk`

### One game

Run `docker compose up`. Players connect to ports 2222 via ssh, and the game host connects to port 2223 and can see the website at port 8080.
Expand Down

0 comments on commit 47fbeda

Please sign in to comment.