diff --git a/README.md b/README.md index 9676c714d5f6a079cc6dbc416adfdbe853498049..037904d52d934a7b57bf4a4b0d83bac2567bb7a0 100644 --- a/README.md +++ b/README.md @@ -39,7 +39,7 @@ coming soon! (because the stuff is too good to just open it for one signup) Send out the link to `passwd/index.html` to the new user. They'll send their encrypted password back. Add that (in the appropriate structure) to the `passwd/users.txt` file. -# Project structure +# Project structure/Dev Hints There are two files that sort of handle the configuration because we couldn't be bothered to create another database table: @@ -55,6 +55,18 @@ Folder structure: - `view/js` should contain all commonly used js things - ... +### Debugging + +For debugging you can point your browser to the `test.html` and use some of the following parameters: + +- `map` - number of the map +- `showEventLayers` - set `true` if you want to see the event layers +- `verbosePF` - set `true` to dump the path finding raster to the console + +For example: + +> http://localhost/fsfahrt/view/signups/game1/test.html?showEventLayers=true&map=2&verbosePF=true + # How to deploy ### Server requirements