Move runtime artifacts out of the source tree to ~/trips
The dev directory now holds source code + compiled binaries only:
~/trips/osm/ OSM PBF extracts (was osm/, 1.4 GB)
~/trips/tilecache/ mock tile cache (was mock/.tilecache)
~/trips/store/mock/ per-trip uploads + chat logs (was mock/store, PII)
~/trips/logs/ server.log
~/trips/stale-osm-build/ stale source/tarball dup of ~/osm-build
(repo osm/build had no binaries; the live OSRM
toolchain + graphs already lived in ~/osm-build)
Code now points at the new locations, all overridable via env:
- mock/server.js: TRIPS_HOME (default ~/trips) for tile cache + store
- setup-osrm.sh / setup-osrm-colombia.sh: OSM_DIR (default ~/trips/osm)
- spatial/compose+import.sh: OSM_DIR (default ~/trips/osm)
- .gitignore: rewritten — no artifact paths remain in-tree
This commit is contained in:
+9
-12
@@ -1,16 +1,13 @@
|
||||
# map tile cache + server runtime
|
||||
mock/.tilecache/
|
||||
mock/server.log
|
||||
|
||||
# OSM data (downloaded by router/scripts/setup-osrm.sh)
|
||||
osm/*.osm.pbf
|
||||
osm/build/
|
||||
|
||||
# Go
|
||||
# Compiled binaries (built in place, not committed)
|
||||
router/router
|
||||
spatial/spatiald
|
||||
router/bench
|
||||
spatial/spatiald
|
||||
router/scripts/__pycache__/
|
||||
|
||||
# per-trip uploaded documents + chat logs (PII — never commit)
|
||||
mock/store/
|
||||
# Runtime artifacts live OUTSIDE this source tree, in ~/trips:
|
||||
# ~/trips/osm/ OSM PBF extracts (setup-osrm*.sh, spatial/import.sh)
|
||||
# ~/trips/tilecache/ mock tile cache (mock/server.js)
|
||||
# ~/trips/store/mock/ per-trip docs + chats (mock/server.js, PII)
|
||||
# ~/trips/logs/ server logs
|
||||
# and the OSRM toolchain + routing graphs live in ~/osm-build (W in the
|
||||
# setup scripts). Nothing here should be re-added under those names.
|
||||
|
||||
Reference in New Issue
Block a user