Skip to content
This repository was archived by the owner on Jan 12, 2022. It is now read-only.

'dev' mode

Casper edited this page Apr 2, 2021 · 1 revision

⚠⚠ For developers only! ⚠⚠

How to enable 'dev' mode

Server

  1. Create a .env file in the server folder
  2. Add the following to the file:
    • CLIENT_URL: the URL where the client is hosted, EG CLIENT_URL="http://localhost:3000"
    • IS_DEV: boolean EG: IS_DEV=true

Client

  1. Create a .env file in the client folder
  2. Add the following to the file:
    • REACT_APP_SERVER_URL: the URL where the server is hosted, EG REACT_APP_SERVER_URL="http://localhost:3030"
    • REACT_APP_IS_DEV: boolean EG: REACT_APP_IS_DEV=true
Clone this wiki locally