Online Quantum Computing Frontend
This repository hosts the source code of the University of Vienna's Online Quantum Computing front end service.
If you want to run this service locally, perform the following steps in your terminal:
- Make sure you have installed node package manager on your machine
- $ cd quantencomputing-webapp
- $ npm install
- $ npm start
- Open your browser and navigate to http://localhost:3000/
Attention: Make sure that port 3000 is currently not blocked by another application, as it will be used as the standard port
To run the application within a docker container, perform the following tasks
- Install docker locally ww
- Build the image: $ docker build . -t ghcr.io/{{container-registry-username}}/quantencomputing-webapp
- Run the docker image: docker run -p 3000:3000 ghcr.io/{{container-registry-username}}/quantencomputing-webapp
- Open your browser and navigate to http://localhost:3000/
export CR_PAT={{PersonalAccessToken}} echo $CR_PAT | docker login ghcr.io -u USERNAME --password-stdin docker push ghcr.io/{{container-registry-username}}/quantencomputing-webapp:latest
TODO Sanity will be used as a headless CMS: https://www.sanity.io/studio The following environmental variables have to be set SANITY_USERNAME SANITY_PA
The following environmental variable has to be set correctly to set the backend API:
REACT_APP_BASE_URL=https://quco.exp.univie.ac.at/api/v1