Public salary data acquired by the Baltimore Sun. Currently, we just have data from the state of Maryland for 2017.
./run.sh setup to install locally. The script assumes you have either Python 3 or Homebrew for Mac installed. Run
./run.sh setup-frontend to install front end dependencies.
./run.sh create-db to create a SQLite database out of the provided CSVs.
./run.sh serve to run server at http://localhost:9001.
Run the JS/CSS frontend server in another tab with
Dockerfile is also provided for running/deploying with Docker. The image can be built with
./run.sh docker-build and tested with
./run.sh docker. The server only responds to correct hostnames (not localhost), so edit
/etc/hosts to add
127.0.0.1 local.salaries.news.baltimoresun.com and then test http://local.salaries.news.baltimoresun.com in the browser.