Repository navigation
RELEASING
Every commit is a version; a deploy ships the version the branch is at.
- Checks pass:
npm run lint,npx tsc,npm run test:once. - The version is the commit's date,
YY.MM.DD(26.10.21), thenr2,r3… for later commits that day. Set it inmodules/lanes/version.tsonly. It shows asv26.10.21and is written ascreated_by=LaneStudio 26.10.21. - Add its section at the top of CHANGELOG.md:
# YY.MM.DD, the date (##### 2026-Oct-21), then what changed under####headings. The what's new menu shows it. - Commit with the version first in the title (
v26.10.21: what changed) and push.
The full rules are in CLAUDE.md; test/spec/lanes/version.ts checks them.
-
OAuth 2 application on openstreetmap.org (My Account → OAuth 2 applications): redirect URI
https://<domain>/editor/land.html; confidential no (PKCE, no secret); permissions: read and modify user preferences, modify the map, read GPS traces, modify notes. Register one on the dev server too to test there. -
GitHub (Settings → Secrets and variables → Actions): variable
OSM_CLIENT_ID(public by design); secretsFTP_SERVER,FTP_LANES_USERNAMEandFTP_LANES_PASSWORD(an account opening in/editor/),FTP_ROOT_USERNAMEandFTP_ROOT_PASSWORD(one opening at the web root).
- Actions → Deploy LaneStudio to server → Run workflow: editor and website, editor or website.
- The editor:
npm run allpackagesdist-lanes/(index.html,land.html,dist/,.htaccess), uploaded to/editor/. Files are loaded with a stamp of their contents, so visitors get the new version at once. - The website (
LanesWebsite/: overview, changelog, privacy) goes to the web root with the current changelog, under its own upload record so it never deletes the editor.
- The editor:
- Check: the footer shows the version, you can log in, and a test changeset says
created_by=LaneStudio YY.MM.DD.
By hand: set ID_API_CONNECTION_URL, ID_API_CONNECTION_API_URL and ID_API_CONNECTION_CLIENT_ID, run
npm run all, and upload dist-lanes/ (with its .htaccess) to /editor/.
LanesWebsite/ is a PHP site: index.php, changelog.php (renders the changelog), privacy_policy.php, error.php,
includes/ (settings, header, footer, icons, Markdown) and assets/. Run it with php -S localhost:8000 router.php
in that folder.
The GitHub wiki is a copy of docs/, rebuilt on every push that changes docs/ by the Sync docs to the wiki
workflow (scripts/build_wiki.js). Pages in docs/guide/ and docs/develop/ are sub pages under the Guide and
Developers pages in the wiki's sidebar; page names must be unique. Turn the wiki on and make one page by hand before
the first run; try it with node scripts/build_wiki.js <folder>.
Merge the iD release tag (or develop) into a branch off mm/lane-studio-main, resolve conflicts in the hooked files
(Code map), run npm ci and npm run all, run the checks, and look at a few junctions
and roundabouts before merging.
Copied from docs/ on every change; edit the files there, not here.
Lane Studio
- Guide
- FAQ
-
Tag coverage
- Tags: Accessibility
- Tags: Addresses
- Tags: Advertising
- Tags: Aerialways
- Tags: Aeroways
- Tags: Agriculture
- Tags: Amenities
- Tags: Animals
- Tags: Annotations
- Tags: Barriers
- Tags: Bicycles
- Tags: Boundaries
- Tags: Bridges
- Tags: Buildings
- Tags: Buses
- Tags: Changeset
- Tags: Children
- Tags: Climbing
- Tags: Clubs
- Tags: Communications
- Tags: Crafts
- Tags: Crossings
- Tags: Cycleways
- Tags: Diplomacy
- Tags: Education
- Tags: Emergencies
- Tags: Ferries
- Tags: Food and beverages
- Tags: Government
- Tags: GPS
- Tags: Hazards
- Tags: Health
- Tags: Highways
- Tags: Hiking
- Tags: Historic
- Tags: Import
- Tags: Industrial
- Tags: Infrastructure
- Tags: Landcover
- Tags: Landuse
- Tags: Leisure
- Tags: Lifecycle
- Tags: Man made
- Tags: Marine
- Tags: Marine navigation
- Tags: Maritime
- Tags: Mechanics
- Tags: Military
- Tags: Motorcycles
- Tags: Names
- Tags: NaPTAN
- Tags: Natural
- Tags: Offices
- Tags: Parking
- Tags: Pipelines
- Tags: Places
- Tags: Police
- Tags: Power
- Tags: Products
- Tags: Properties
- Tags: Public transport
- Tags: Railways
- Tags: References
- Tags: Religion
- Tags: Restrictions
- Tags: Riding
- Tags: Routes
- Tags: Shops
- Tags: Social facilities
- Tags: Social networks
- Tags: Sports
- Tags: Swimming and bathing
- Tags: Tourism
- Tags: Transport
- Tags: Vending machines
- Tags: Waste processing
- Tags: Water
- Tags: Water management
- Tags: Waterways
- Tags: Other
- Developers
- API
- Contributing
- Releasing
- Accessibility
- Privacy
- Security
- Code of conduct
- Changelog