Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000| // The Monaco Editor can be easily created, given an | |
| // empty container and an options literal. | |
| // Two members of the literal are "value" and "language". | |
| // The editor takes the full size of its container. | |
| // Important Bit #1: Typescript must see the 'file' it is editing as having | |
| // a .tsx extension | |
| const modelUri = monaco.Uri.file("foo.tsx") | |
| // Important Bit #2 |
This focuses on generating the certificates for loading local virtual hosts hosted on your computer, for development only.
Do not use self-signed certificates in production ! For online certificates, use Let's Encrypt instead (tutorial).