Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jgaskins/mprop-crystal
Crystal port of Mitchell Henke's Phoenix.LiveView Milwaukee Property Search app
https://github.com/jgaskins/mprop-crystal
Last synced: 22 days ago
JSON representation
Crystal port of Mitchell Henke's Phoenix.LiveView Milwaukee Property Search app
- Host: GitHub
- URL: https://github.com/jgaskins/mprop-crystal
- Owner: jgaskins
- License: mit
- Created: 2019-04-27T08:27:09.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-05-19T04:38:53.000Z (over 5 years ago)
- Last Synced: 2024-12-09T10:55:43.694Z (25 days ago)
- Language: CSS
- Homepage: https://mprop-crystal-live-view.herokuapp.com
- Size: 35.2 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# mprop-crystal
A `Crystal::LiveView` port of [Mitchell Henke's `Phoenix.LiveView` Milwaukee Property Search app](https://mobile.twitter.com/MitchellHenke/status/1121803306081320963).
## Installation
git clone https://github.com/jgaskins/mprop-crystal.git
cd mprop-crystal
shards
createdb mprop## Usage
First we need to download the data from the Millwaukee city website
curl https://itmdapps.milwaukee.gov/xmldata/Get_mprop_csv -o mprop.csv
Then we load it into the database. We'll need the DB URL so we'll export it to our shell environment here
_Note: This takes quite a while to load_
export DATABASE_URL=postgres://localhost/mprop
crystal seed_db.cr mprop.csvThen we run the app. By default it listens on port 9393, but you can change it with the `PORT` shell environment variable.
crystal src/mprop.cr
## Development
¯\_(ツ)_/¯
## Contributing
1. Fork it ()
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create a new Pull Request## Contributors
- [Jamie Gaskins](https://github.com/jgaskins) - creator and maintainer