Skip to content

Environmental Variables

rothwell.andy@gmail.com edited this page Aug 2, 2024 · 2 revisions

The environmental variables needed in an env.local to run the app locally are:

VITE_PUBLICPATH=/
VITE_DEBUG=true
VITE_VERSION=atlas
VITE_CYCLOMEDIA_API_KEY=
VITE_CYCLOMEDIA_PASSWORD=
VITE_CYCLOMEDIA_USERNAME=
VITE_EAGLEVIEW_CLIENT_ID=
VITE_EAGLEVIEW_CLIENT_SECRET=
VITE_FA_AUTH_TOKEN=
VITE_AGO_USERNAME=
VITE_AGO_PASSWORD=

explanation

VITE_PUBLICPATH=/ - this is needed for accessing images in the public folder.

VITE_DEBUG=true - this will allow many console.logs to show in your dev envt.

VITE_VERSION=atlas - switch this to cityatlas to see the cityatlas version of the app.

All the rest are sensitive passwords that you must get access to.

Clone this wiki locally