Note: after every Pull be sure you got the right dependencies:
rm -rf node_modules package-lock.json
npm install
This is a code bundle for DoziLab University Web App UI. The original project is available at https://www.figma.com/design/DyN0adA4Ye8swEhD81VLXh/DoziLab-University-Web-App-UI.
Run npm i to install the dependencies.
Run npm run dev to start the development server.
Create a .env file in the project root with the following variables:
VITE_KEYCLOAK_URL=http://your-keycloak-server:8080/
VITE_KEYCLOAK_REALM=Dozilab
VITE_KEYCLOAK_CLIENT_ID=appstore-frontend
VITE_API_BASE_URL= # optional, defaults to "" (uses vite proxy in dev)Note: Main-Folder can be named 'appstore-frontend' or differently.
– Make sure a .env with VITE_KEYCLOAK_URL, VITE_KEYCLOAK_REALM, VITE_KEYCLOAK_CLIENT_ID exists in the project root (it is included in the image; do not add it back to .dockerignore).
– Start Docker local.
– Build Container: docker build -t appstore-frontend .
– Start Container in main folder: docker run -p 3000:80 appstore-frontend
– Open: 'http://localhost:3000'
– Close: ctrl + c