This is the codebase for Occupied City. It runs on Vue 3 (see src/js/App.vue).
The site lives at OccupiedCity.webful.uk and is released as open source under the MIT Licence.
npm i
npm run devThis starts a local dev server (no Apache needed).
If you want it to open your browser automatically:
npm run dev:openIf it doesn’t open automatically (or you used dev), visit:
npm run build:devWebpack output is written to ./web.
Issues are tracked on GitHub.
We currently use Leaflet for maps.
We're using Flickr Shapefiles locality data to produce approximate outlines for each included city.
As Flickr shapes were even more noticeably off for at least some countries, we use these approximations instead.
Client libraries managed with npm.
There is no CI for now. To build live after uploading src files:
npm i
npm run buildWebpack'd output is placed in and served from ./web.
- Node 20+ for build/dev
Tests were removed in 2022.
Apache is no longer required for local development. If you deploy to Apache and want HTML5-history routing, you’ll still need the equivalent rewrite rules.