diff --git a/README.md b/README.md index e75ed3704..7dc4b3c09 100644 --- a/README.md +++ b/README.md @@ -77,21 +77,8 @@ I love it to see where the project ends up. You are free to reuse the software ( ## Dev -To develop: +To develop or deploy a version of MapComplete, have a look [to the guide](Docs/Development_deployment.md). -0. Make sure you have a recent version of nodejs - at least 12.0, preferably 15 -0. Make a fork and clone the repository. -1. Install `npm`. Linux: `sudo apt install npm` (or your favourite package manager), Windows: install nodeJS: https://nodejs.org/en/download/ -2. Run `npm install` to install the package dependencies -3. Run `npm run generate` and `npm run generate:editor-layer-index` to generate some additional dependencies -4. Run `npm run start` to host a local testversion at http://localhost:1234/index.html -5. By default, the 'bookcases'-theme is loaded. In order to load another theme, use `layout=themename` or `userlayout=true#`. Note that the custom URLs (e.g. `bookcases.html`, `aed.html`, ...) _don't_ exist on the development version. (These are automatically generated from a template on the server). - -To deploy: - -0. `rm -rf dist/` to remove the local build -1. `npm run build` -2. Copy the entire `dist` folder to where you host your website. Visiting `index.html` gives you the website ## Translating MapComplete