microsoft/qdk

Public

mirrored fromhttps://github.com/microsoft/qdkAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
7421e7dd1015dcbd940bf843d33583470de580ea

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

source/playground/README.md

19lines · modecode

1# Playground
2
3This is a simple web site built using the Monaco editor and the qsharp npm package.
4
5## Building the Playground Locally
6
71. Build the entire repo by running `./build.py` in the root directory.
8 If you only want to build the functionality necessary to run the playground, you can use `python ./build.py --wasm --npm --play`.
92. Then make `./playground` your current directory and run `npm start` to start the web server.
103. Copy the URL that will be printed to console and open it in a browser to use the playground.
11
12## Building the Playground Locally in Watch Mode
13
141. Build the entire repo by running `./build.py` in the root directory.
15 If you only want to build the functionality necessary to run the playground, you can use `python ./build.py --wasm --npm --play`.
162. Run `node watch.mjs` at the root of the repo.
173. Copy the URL that will be printed to the console and open it in a browser to use the playground.
18
19Any time you make changes to any of the source files, the changes will be automatically compiled. Refresh the page in the browser to reload the playground with your changes.
20