QuafelWeb is a web application to visualize and manage data from various quantum computing simulators with the help of Quafel.
After installing the dependencies and cloning the repository, run the following command in the root of the project to install the python dependencies and finish setting up:
poetry install
To run the project, the following command must be executed:
docker-compose up --build
This will start all docker-containers, migrate the database and start the web application.
- The web application can be accessed at
http://localhost:8000/
- The simulated hardware-profile is available via ssh at
localhost:2222
with the credentialsuser:password
- The simulated output-server is available via ssh at
localhost:2223
with the credentialsuser:password
If the docker-containers are running, the simulated hardware-profile can be used. The connection-string for it is test://hardware.profile:22
.
To register an admin for the first time replace with the right email in quafelweb/simulation_data/fixtures/login_data.json. Then execute the following command in the webapp docker container to register this email in the data base.
poetry run python manage.py loaddata login_data
To load example data execute
poetry run python manage.py loaddata example_data