Static assets for oldnyc.org
JavaScript CSS HTML Python
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
by-location
id4-to-location
images
js
rotated-assets
styles
.eslintignore
.eslintrc
.gitignore
CNAME
LICENSE
README.md
about.html
data.json
favicon.ico
generate_rotated_images.py
index.html
lat-lon-counts.js
notext.json
ocr.html
package.json
popular.json
timestamps.json
webpack.config.js

README.md

oldnyc.github.io

Static site for oldnyc.org.

The data files are generated using the oldnyc repo.

To use the site, just start an http server in this directory. For example:

git clone https://github.com/oldnyc/oldnyc.github.io.git
cd oldnyc.github.io
npm install http-server
http-server

Then open http://localhost:8080/.

Development

Modifications to the HTML and CSS files should show up immediately.

The JavaScript files are bundled for serving, so changes to individual files won't show up on the site until you rebuild the bundle. To do this, run:

npm install
webpack

after saving your changes, or set up a watch process:

webpack --watch

Don't modify the data files (lat-lon-counts.js, by-location, id4-to-location) directly. Changes to these files should come from the oldnyc repo.

To run lint checks:

npm run lint