Coder Social home page Coder Social logo

code4hr / cutiesinhamptonroads Goto Github PK

View Code? Open in Web Editor NEW

This project forked from lynnaloo/cutepetshamptonroads

6.0 6.0 2.0 426 KB

This is a twitter bot that posts a random adoptable pet in Norfolk from Petfinder.com.

Home Page: http://c4hrva.github.io/CutiesInHamptonRoads/

License: MIT License

Ruby 100.00%
active

cutiesinhamptonroads's Introduction

code4hr.org

The website for the Code for Hampton Roads Brigade

Goals

  1. Explain what Code for HR is and the type of work we do.
  2. To celebrate our events, projects, and discussions!
  3. Encourage current and new members to participate with clear ways to get involved.
  4. To have this site be easily reused by other Brigades just starting out.

Tech

Built using Jekyll, Bootstrap, and the CfAPI.

Contributing

Submitting an Issue

We use GitHub Issues to track bugs and features. We've included several of our open GitHub Issues right on our homepage using the Civic Tech Issue Finder.

Running the Site Locally on Your Computer

To run the site locally on your own computer (most helpful for previewing your own changes), you will need Jekyll installed (click here for Jekyll installation instructions.)

Fork and clone the repository, then run the following command in the root directory of the repo:

jekyll serve

or

jekyll serve --watch which will watch for changes to files.

Your computer should now be serving your local copy of the site at:

http://localhost:4000.

Sharing Your Changes Using Jekit

You can use the nifty Jekit app to preview changes you make to this site.

To do this, fork this repo, and commit your changes on a branch to your fork. You can then preview what your changes look like by navigating to:

https://jekit.codeforamerica.org/USERNAME/code4hr/BRANCHNAME/

For a basic example of its usage, if GitHub user @lolname has made changes to the projects page on their fork (on the master branch), they can preview their changes using Jekit by going to:

https://jekit.codeforamerica.org/lolname/code4hr/master/projects

Submitting a Pull Request

  1. Fork the project.
  2. Create a topic branch.
  3. Implement your feature or bug fix.
  4. Commit and push your changes.
  5. Submit a pull request.

cutiesinhamptonroads's People

Contributors

boonrs avatar drewrwilson avatar lynnaloo avatar ohnorobo avatar techieshark avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cutiesinhamptonroads's Issues

Centralize issue tracking

There are issues that might affect / be welcomed by all (or most) instances of CutePets.

We may want to decide on picking a repo to keep these non-city-specific issues in.

I would propose Denver or Boston, with an issue tag for "relevant to multiple instances". Input welcome!

Hampton Roads SPCA setup

Cuties In norfolk is very norfolk specific,

how are the SPCA's in hampton roads organized, and setup possibly a way to integrate with their twitter feeds or keep our own.

Do your PHP Homework

Stanley should do his PHP homework instead of working on cute puppy Twitter bots all night.

Heroku scheduler and environment variables

I put an issue in with Denver to see how they're getting around this Heroku problem where the rake tasks do not have access to the loaded configs. Right now for CutiesInNorfolk, I am just setting the configs in the scheduler, but that's a little messy until I find a better solution.

Contact Shelters

Contact shelters in Hampton Roads: Portsmouth, Chesapeake, Virginia Beach, Suffolk, Norfolk to tell them about the project and see if they would like us to tweet directly to their twitter.

Cuties In X

Since Hampton Roads is composed of 13 different municipalities, and also there are several times more shelters splitting each handle up by place

The long term strategic goal is to work with shelters to get them to output their own twitter api tokens so we can setup heroku so they can post through their own twitter handles.

Change API to support multiple shelters

Each city has several shelters so that shelter_id should really be an array of the shelters in that city. Right now I am using the Norfolk Care Center for Norfolk, but we should add all of the Norfolk shelters from PetFinder.

Cuties-as-a-Service

This is a pie in the sky pitch idea that I thought would be cool.

When this is more refined and more awesome we need to do a Norfolk Blow out promotion.

So like Uber Kittens, we're going to fulfill Ian's and Donna's dream of CUTIES AS A SERVICE.
http://blog.uber.com/ICanHasUberKITTENS

The winners and players C4HRVA, CarryNorfolk, Norfolk Shelters, (NorfolkJS), **StartNorfolk

From a time period some day in the future, be able to request cuties as a service but following the @cutiesinnorfolk FEED and REPLYING to the photo, "@CARRYNORFOLK I NEED THIS FUR BALL NOW" where then @itsEconomics then hops on his bike and hitches up the wagon and brings the cuties all over norfolk.

Free promo event with recommended TIP/Contribution going to the shelters.

Good Awareness/Marketing/Good feels event.

THOUGHTS
@lynnaloo @itsEconomics
cc allso
@tjwebb @c4hrva @FenderThinks

Facebook

suggested from our local members using Facebook as a platform

Long breed names are causing tweets to go over 140 characters

"Status is over 140 characters" error is causing some animals to not be tweeted. This is because some of the breeds (and resulting hashtags) are too long. An example is "American Staffordshire Terrier."

Need to add some checks lengths of hashtags to prevent long tweets.

Website?

on the twitter handle this is the URL linked.

Are we thinking to create an actual github page or stick to convention and link to source code

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.