Warning
2024-11-18
This repo is archived. The contents are now living in graasp/client to allow development of a single code base.
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