https://github.com/sid-kap/austin-zoning
Austin Zoning Map in the browser
https://github.com/sid-kap/austin-zoning
Last synced: 8 months ago
JSON representation
Austin Zoning Map in the browser
- Host: GitHub
- URL: https://github.com/sid-kap/austin-zoning
- Owner: sid-kap
- Created: 2017-01-03T00:46:43.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-01-03T22:45:54.000Z (over 9 years ago)
- Last Synced: 2025-05-07T05:31:00.859Z (about 1 year ago)
- Language: Haskell
- Size: 14.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Austin Zoning Map
*Purpose*: I wanted to better understand the zoning rules in Austin. The Austin city website does have an [interactive zoning map](http://www.austintexas.gov/GIS/ZoningProfile/), but it only allows you to look at the zoning details of one building at a time. (You have to click on a place on the map to see its zoning details.) I wanted to be able to see the zoning codes for all locations at once, so I built this tool using the same API as the Austin website.
# Installation
This project is written in Haskell and Typescript.
To build, you must have `stack`, `webpack`, and `yarn` on your computer.
Anyway, assuming you have the dependencies, you must do
```bash
cd client
yarn
webpack
cd ..
cd server
stack build
stack exec austin-zoning
```
The last command above starts the Haskell server on `localhost:3000` that serves both the static content (`/index.html` and `/bundle.js`) and the dynamic content (at `/area`).
# Development
To continuously rebuild the project, run `webpack --watch` in the `client/` directory and `stack build --file-watch --fast` in the `server/` directory. Every time you make a change to the server code, make sure to restart the server executable (`stack exec austin-zoning`). (I'd like to find a way to restart the server executable every time it changes, but I'm not sure how to do that.)