Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cityofdetroit/demo-tracker
Cloning the demolition map from ArcGIS Online.
https://github.com/cityofdetroit/demo-tracker
Last synced: 6 days ago
JSON representation
Cloning the demolition map from ArcGIS Online.
- Host: GitHub
- URL: https://github.com/cityofdetroit/demo-tracker
- Owner: CityOfDetroit
- Created: 2017-09-27T19:36:44.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2023-07-11T20:53:09.000Z (over 1 year ago)
- Last Synced: 2024-04-14T07:56:38.084Z (7 months ago)
- Language: JavaScript
- Size: 1.29 MB
- Stars: 0
- Watchers: 12
- Forks: 0
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# demo-tracker
A map showing demolition and land bank activity in the city of Detroit.
Live demo: https://cityofdetroit.github.io/demo-tracker
## Development
Behind the scenes, we use Babel to compile, Browserify and Watchify to bundle, and Uglify to minify our code.
### Prereqs
You should be running Node and NPM.
This project assumes you have three global dependencies: Browserify, Watchify and Uglify
If you don't, install them:
```
npm install -g browserify watchify uglify-js
```### Develop
Clone this project:
```
git clone https://github.com/CityOfDetroit/demo-tracker.git
cd demo-tracker
npm install
```### Build
Run `npm run watch` and open `public/index.html` in your browser.
This is listening for changes in `src/main.js` and will automatically rebuild, so you just need to refresh your browswer to see changes.
### Deploy
Run `npm run deploy`. This pipes `src/main.js` through Uglify to minify it, writes to `public/bundle.js`, and then publishes to gh-pages.