Skip to content

Commit

Permalink
Merge pull request #65 from UTDallasEPICS/dev/daniel/fix_env_example
Browse files Browse the repository at this point in the history
Update .env.example
  • Loading branch information
CrazEpic authored Apr 24, 2024
2 parents af9b9cb + c676050 commit f1299bd
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 9 deletions.
27 changes: 19 additions & 8 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1,8 +1,19 @@
PORT_EXPRESS_CONTROLLER_GAMEMANAGER=PORTNUMBER
PORT_WSS_CONTROLLER_CLIENT=PORTNUMBER
PORT_WSS_CONTROLLER_RASPBERRY=PORTNUMBER
PORT_GM_RASPBERRY=PORTNUMBER
PORT_SSE_GM=PORTNUMBER
PORT_CLIENT_GM=PORTNUMBER
CONTROLLER_PASSWORD=MUDAMUDAMUDA
CONTROLLER_ACCESS=donutvampire
PRISMA_DB_URL="file: dev.db"

PORT_EXPRESS_CONTROLLER_GAMEMANAGER=PORT
PORT_WSS_CONTROLLER_CLIENT=PORT
PORT_WSS_CONTROLLER_RASPBERRY=PORT
PORT_GM_RASPBERRY=PORT
PORT_SSE_GM=PORT
PORT_CLIENT_GM=PORT

CONTROLLER_PASSWORD=password
CONTROLLER_ACCESS=donutvampire

NUXT_CHANNEL_NAME=CHANNELNAME
NUXT_PARENT_NAME=PARENTNAME

NUXT_AUTH0_CLIENTID=CLIENTID
NUXT_AUTH0_SECRET=CLIENTSECRET
NUXT_BASEURL=http://localhost:PORT/
NUXT_ISSUER=https://dev-something.us.auth0.com/
2 changes: 1 addition & 1 deletion server/Controller/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ dotenv.config({ path: "./.env" })
const PORT_SERVER: number = parseInt(`${process.env.PORT_EXPRESS_CONTROLLER_GAMEMANAGER}`)
const PORT_WSS_CLIENT: number = parseInt(`${process.env.PORT_WSS_CONTROLLER_CLIENT}`)
const PORT_WSS_RASPBERRY: number = parseInt(`${process.env.PORT_WSS_CONTROLLER_RASPBERRY}`)
let CONTROLLER_ACCESS: string = process.env.CONTROLLER_ACCESS ?? ""
let CONTROLLER_ACCESS: string = ""

// Temporary queue until Auth0+database is set up
// ws to close connection on POST /removeuser
Expand Down

0 comments on commit f1299bd

Please sign in to comment.