Merge branch 'develop' of github.com:pietervdvn/MapComplete into develop

This commit is contained in:
Pieter Vander Vennet 2022-07-05 14:55:56 +02:00
commit c0716354ad

View file

@ -46,18 +46,12 @@ Development using Windows
For Windows you can use the devcontainer, or the WSL subsystem. For Windows you can use the devcontainer, or the WSL subsystem.
To use the devcontainer in Visual Studio Code: Raw installation
0. Make sure you have installed 0. Clone the repo
the [Remote - Containers](https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-containers) 1. Install `npm` and install `ts-node` globally with `npm install -g ts-node`
extension and it's dependencies. 2. Execute `npm run init`. It will install and build some assets
1. Make a fork and clone the repository. 3. Run `npm run start` to start the dev server
2. After cloning, Visual Studio Code will ask you if you want to use the devcontainer.
3. Then you can either clone it again in a volume (for better performance), or open the current folder in a container.
4. By now, you should be able to run `npm run start` to host a local testversion at http://localhost:1234/index.html
5. By default, a landing page with available themes is served. In order to load a single theme, use `layout=themename`
or `userlayout=true#<layout configuration>` as [Query parameter](URL_Parameters.md). Note that the shorter URLs (
e.g. `bookcases.html`, `aed.html`, ...) _don't_ exist on the development version.
To use the WSL in Visual Studio Code: To use the WSL in Visual Studio Code: