This app is part of the k:evatool and provides the admin frontend.
This project is part of the project museum4punkt0 - Digital Strategies for the Museum of the Future, sub-project k:eva. Further information: https://www.museum4punkt0.de.
The project museum4punkt0 is funded by the Federal Government Commissioner for Culture and the Media in accordance with a resolution issued by the German Bundestag (Parliament of the Federal Republic of Germany).
Please copy the file .env.local.example to .env and adjust the parameters:
- VITE_API_BASE_URL_API: Set the base URL of the k:evatool backend api endpoints (i.e. http://localhost:8085/api for local development)
- VITE_API_BASE_URL_AUTH: Set the base URL of the k:evatool backend oauth endpoints (i.e. http://localhost:8085/oauth for local development)
- VITE_PREVIEW_URL: URL of the survey player (i.e. http://localhost:3001 for local development)
- VITE_BASE_URL: URL of the admin frontend itself (i.e. http://localhost:3002 for local development)
- VITE_TUS_URL: Set the base URL of the TUS server needed for file uploads (i.e. http://localhost:8085/tus for local development)
- VITE_DEBUG: Set debug mode (should be false in production)
- VITE_PREFILL_PASSWORD: Prefill password for local development (not needed in production)
- VITE_PREFILL_EMAIL: Prefill email for local development (not needed in production)
- VITE_TINY_MCE_API_KEY: TinyMCE API key. Can be obtained at https://www.tiny.cloud
Please make sure that the Laravel Backend and the survey player are running. Otherwise backend connections and survey preview won't work
The following needs to be run for production and development prior to building and running the dev environment
yarn
yarn dev
Like on a webserver. Ideal for testing builds locally.
yarn serve
yarn build
yarn lint (--fix)
GNU GENERAL PUBLIC LICENSE
Copyright © 2022, 2av GmbH
Please also see the LICENSE file provided within this repository