Skip to content

graasp/graasp-auth

Repository files navigation

Graasp Auth

gitlocalized

Create an .env.development file with:

VITE_PORT=3001
VITE_VERSION=latest
VITE_GRAASP_DOMAIN=localhost:3001
VITE_GRAASP_API_HOST=http://localhost:3000
VITE_GRAASP_LANDING_PAGE_ORIGIN=https://graasp.org
VITE_SHOW_NOTIFICATIONS=true

VITE_RECAPTCHA_SITE_KEY=
VITE_DEFAULT_REDIRECTION_URL=http://localhost:3111

Generate your recaptcha key from the reCAPTCHA admin console

For running tests locally create a .env.test file:

VITE_PORT=3002
VITE_VERSION=latest
VITE_GRAASP_DOMAIN=localhost:3002
VITE_GRAASP_API_HOST=http://localhost:3636
VITE_GRAASP_LANDING_PAGE_ORIGIN=https://graasp.org
VITE_SHOW_NOTIFICATIONS=true

VITE_RECAPTCHA_SITE_KEY=
VITE_DEFAULT_REDIRECTION_URL=http://localhost:4444