/web-ui

Source code for latticesurgery.com

Primary LanguageTypeScriptGNU Affero General Public License v3.0AGPL-3.0

latticesurgery.com

CI + CD ts arXiv Unitary Fund

Lattice Surgery Compiler-fin-01

Source code for latticesurgery.com. Built using React and Vite.

Running locally

$ git clone https://github.com/latticesurgery-com/web-ui.git
$ cd web-ui
$ npm ci 
$ npm start

Run against a local compiler library

Start lsqecc's local development server, then go to: /?localapi=true. To set the port: /?localapi=true&port=8888, otherwise it defaults to 9876 (lsqecc's default).

Development

This repo uses ESLint and Prettier to enforce a consistent programming style. However, their warnings might stop the development server from compiling. To fix this problem, run the following line before npm start:

$ echo ESLINT_NO_DEV_ERRORS=true >> .env

or alternatively, add ESLINT_NO_DEV_ERRORS=true option to your .env file.

To auto-format your code using ESLint and Prettier, run:

$ npm run lint:fix

License

The copyright holders for this project are its contributors Alex Nguyen, Keelan Watkins and George Watkins. It is released under the terms of the GNU Affero General Public License. A copy of the license should be included with the project in the LICENSE file.