Argenmap is a fully static web application — there is no server-side runtime, no database, and no build step. Deploying it means copying the repository files to any directory that your web server can serve over HTTP or HTTPS. This page covers every common scenario: local development with VS Code Live Server or Python, and production deployments on Apache and Nginx.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/ign-argentina/argenmap/llms.txt
Use this file to discover all available pages before exploring further.
Requirements
- Any static file web server (Apache, Nginx, lighttpd, VS Code Live Server, Python
http.server, etc.) - The Argenmap source files on the server’s file system
Step 1 — Get the code
Clone the repository with Git, or download the ZIP archive directly. Clone with Git:Step 2 — Copy the configuration files
Argenmap ships with read-only reference configs insrc/config/default/. Before editing anything, copy those files into src/config/ — the path the application actually reads at runtime.
Linux / macOS:
| File | Purpose |
|---|---|
src/config/data.json | Base maps, WMS/WMTS overlay layers, and layer panel sections |
src/config/preferences.json | Map center, zoom levels, theme colors, toolbar, search bar, and meta tags |
The
src/config/default/ folder is the shipped reference. Keeping your edits in src/config/ means you can always compare against the defaults and pull upstream updates without overwriting your customizations.Step 3 — Publish with a web server
Choose the option that matches your environment.- VS Code Live Server
- Apache
- Nginx
- Python HTTP Server
VS Code’s Live Server extension is the fastest way to start developing locally. It serves files over HTTP and reloads the browser automatically when you save a file.Install the extension:
- Open VS Code.
- Go to the Extensions panel (Ctrl+Shift+X / Cmd+Shift+X).
- Search for Live Server by Ritwick Dey and click Install.
- Open the
argenmapfolder in VS Code (File → Open Folder). - In the Explorer panel, right-click
index.html. - Select Open with Live Server.
http://127.0.0.1:5500 (the port may vary). The map loads with the default Argentina base map.Step 4 — Verify the deployment
Once the server is running, open the URL in your browser and check:- Base map tiles load — you should see the Argentina base map rendered from IGN’s TMS service at:
- Layer panel appears — the collapsible sidebar on the left lists the sections defined in
data.json. - Toolbar is visible — buttons for layers, base map selector, add layers, help, and accessibility appear in the top-left area.
file:// URL instead of HTTP.
If the layer panel is empty, confirm that src/config/data.json is present, valid JSON, and readable by the web server process.
Next steps
Now that Argenmap is running, customize it for your use case by editing the two configuration files:- Configure data.json — add base maps, WMS/WMTS overlay layers, and define the layer panel structure.