GitXplorerGitXplorer
s

austin-zoning

public
0 stars
0 forks
0 issues

Commits

List of commits on branch master.
Unverified
1ca1ba6e8f8d4db08d91583ffd2ec669608f16cf

Clean up index.ts, add GitHub link to index.html

ssid-kap committed 8 years ago
Unverified
681b353e6ad7188da1f7c8ab791b2039069c2bee

Load zoning regions on page load

ssid-kap committed 8 years ago
Unverified
c7552145dc8ad7809a78de4d31bf75f2eb94b5da

Add `run` script

ssid-kap committed 8 years ago
Unverified
846c4f3555710c3d4e2ec9467e6beaed6af81f07

Remove hardcoded localhost from client code

ssid-kap committed 8 years ago
Unverified
9cca44f43a869754989f18b30d69cedc61c2b3d9

Change – dash to -- in README.md

ssid-kap committed 8 years ago
Unverified
0b071138c493811642f6684cf12841b29fb5c2eb

Move README.md back to root directory

ssid-kap committed 8 years ago

README

The README file for this repository.

Austin Zoning Map

Purpose: I wanted to better understand the zoning rules in Austin. The Austin city website does have an interactive zoning map, 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

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.)