Repository navigation
Development environment on Linux
EdwardO edited this page Nov 13, 2026
·
7 revisions
The development environment is documented with the code, and kept up to date there:
- README.md: the current stack (versions, branches in progress).
- HOWTO-DEV.md: dev container or manual setup (Docker or rootless Podman), running the API and its background scripts, tests, lint, code layout.
- .devcontainer/README.md: the dev container.
- scripts/dev-database/README.md: the anonymized dev database and its accounts (see also Dev databases).
- alembic_migration/README.md: database migrations.
Get the list of waypoints:
GET http://localhost:6543/waypoints
Get waypoint with id=1:
GET http://localhost:6543/waypoints/1
Insert a waypoint:
curl -X POST -v \
-H "Content-Type: application/json" \
-d '{"waypoint_type": "summit", "elevation": 3779, "geometry": {"geom": "{\"type\": \"Point\", \"coordinates\": [635956, 5723604]}"},"locales": [{"lang": "fr", "title": "Mont Pourri"}]}' \
http://localhost:6543/waypoints
Updating a waypoint:
curl -X PUT -v \
-H "Content-Type: application/json" \
-d '{"message": "Comment about change", "document": {"elevation": 4633, "maps_info": null, "version": 1, "document_id": 1, "waypoint_type": "summit", "locales": [{"lang": "fr", "version": 1, "title": "Mont Rose", "access": null, "description": null}]}}' \
http://localhost:6543/waypoints/1
(Writes need a logged-in user: add -H "Authorization: JWT token=\"<token>\"" with the token answered by
POST /users/login.)
Check the Discourse forum is up and available to the client API:
scripts/check_discourse_connection.sh [id]
"id" is a v6 user id. The script should return a 200OK.
β°οΈ Production UI β’ Production API β’ Prod π§ββοΈ
- π Home
- π Changelog
- πΊοΈ Architecture diagrams
- π οΈ Dev tips
- πͺ Production Recipes
- π Deployment
- π¨βπ Useful informations
- β οΈ Legacy