Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tyrauber/congresstmi
Fight For the Future, Congress TMI Campaign
https://github.com/tyrauber/congresstmi
Last synced: about 1 month ago
JSON representation
Fight For the Future, Congress TMI Campaign
- Host: GitHub
- URL: https://github.com/tyrauber/congresstmi
- Owner: tyrauber
- Created: 2012-04-16T07:25:43.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2012-04-16T07:43:19.000Z (over 12 years ago)
- Last Synced: 2024-10-14T11:54:54.692Z (3 months ago)
- Language: JavaScript
- Homepage: fightthefuture.com
- Size: 1.39 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# CongressTMI
A Rails 3 App for Fight for the Future's Congress TMI campaign.
## Status
* Form accepts, validates and stores name, email, address and zip
* Javascript geocodes request and looks up representatives name and twitter id## Todo
Twitter posting. Ran out of time.
The following looks to be a good example of how to post to twitter using OAuth and the Twitter Gem in Rails:
https://github.com/tardate/rails-twitter-oauth-sample
## Import / Editable Stuff
* app/views/users/new.html.erb
Contains most of the text on the page* app/views/users/_form.html.erb
Contains the signup form
* app/views/users/_tweet.html.erb
Contains the start of the tweet form. It is not complete.## Instructions
* git clone this repository
* copy and edit database.example.yml as database.yml
* copy and edit db/seeds.example.rb as db/seeds.rb to add admins
* rake db:create
* rake db:setup
* rails serverFor deploying, you will probably want to setup capistrano with a deploy script.