Skip to content

Latest commit

 

History

History
26 lines (18 loc) · 740 Bytes

File metadata and controls

26 lines (18 loc) · 740 Bytes

Adding Airports

When adding airports that are NOT in aerolineas-airports.json:

  1. Don't add to /misc/aerolineas-airports.json - that's for Aerolineas airports only
  2. Add to OTHER_AIRPORTS object in /sitio-sveltekit/src/routes/+page.svelte

Example:

const OTHER_AIRPORTS = {
  CNQ: "Corrientes",
  GIG: "Rio de Janeiro",
  MCZ: "Maceió", // International airports, charter destinations, etc.
};

This prevents "Airport {IATA} not found" warnings when flights reference the airport.

Touching the database

The database is not directly accessible from outside. To query it, SSH into absolute-slop and use dokku:

ssh -T absolute-slop "dokku postgres:connect flybondi <<< \"YOUR SQL HERE;\""