GithubHelp home page GithubHelp logo

bkerley / treegram Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 66 KB

this app is eventually gonna text people about tree permits near a given address

Ruby 73.06% JavaScript 2.10% CoffeeScript 0.77% CSS 3.96% HTML 19.76% Dockerfile 0.36%

treegram's Introduction

treegram

this app is eventually gonna text people about tree permits near a given address

using

you need docker and docker-compose

  1. docker-compose build
  2. docker-compose up -d

it shows up on http://localhost:3000

loading permits

initial import: docker-compose run sh rake import:initial

update import: docker-compose run sh rake import:update

convert city permits to Permits: docker-compose run sh rake fixup:permits

why the latter? Permit objects have a PostGIS location field that can be used for geospatial queries

dumping the database

docker-compose run dump pg_dump -Fc -f /dumps/$(date +%s).pgdump -U postgres -h psql treegram_development

restoring it is left as an exercise for the reader :P

contributing

I welcome contributions and pull requests! However, this isn't my job or anything so it may take some time for me to get to them.

Contributors are expected to abide by the Contributor Convenant as detailed in CODE_OF_CONDUCT.md

Join the #treegram channel on the Code for Miami chat: http://cfm-invite.herokuapp.com

help

ask bryce!

treegram's People

Contributors

bkerley avatar

Watchers

James Cloos avatar  avatar

treegram's Issues

user model

To support registration, this app needs a user model. It should support registration by email address or SMS number.

allow sms registration

Many people prefer texts to emails, and tree gram should support this. Again, this should require confirmation/double-opt-in.

let users subscribe to permits

Once users can sign up, they should be able to subscribe to permits in a radius around a point. Geolocating with JavaScript would be good.

Subscription model should probably have a location field, a radius field, and belong_to a user.

allow email registration

Signing up for tree gram with an email address needs to work. Use the basic ActionMailer stuff in Rails. Make sure there's confirmation/double-opt-in for account creation. (ask me about having a very short gmail address some time)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.