Skip to content

Commit

Permalink
docs: info on local dev with JOSM API
Browse files Browse the repository at this point in the history
  • Loading branch information
spwoodcock committed Aug 9, 2023
1 parent 01ec94a commit 5a6af5e
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions docs/DEV-2.-Backend.md
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,23 @@ Creating a new release during development may not always be feasible.

> Note: this is useful for debugging features during active development.

## Running JOSM in the dev stack

- Run JOSM with FMTM:

```bash
docker compose \
-f docker-compose.yml \
-f docker-compose.josm.yml \
up -d
```

This adds JOSM to the docker compose stack for local development.
Access the JOSM Remote API: <http://localhost:8111>
Access the JOSM GUI in browser: <http://localhost:8112>

You can now call the JOSM API from FMTM and changes will be reflected in the GUI.

## Conclusion

Running the FMTM project is easy with Docker. You can also run the
Expand Down

0 comments on commit 5a6af5e

Please sign in to comment.