Giter Site home page Giter Site logo

davidgrieser / spotholes Goto Github PK

View Code? Open in Web Editor NEW

This project forked from codeforbirmingham/spotholes

0.0 2.0 0.0 236 KB

Rails backend with administrative interface and pothole reporting API.

Ruby 80.83% CoffeeScript 0.04% JavaScript 0.89% CSS 2.86% HTML 15.37%

spotholes's Introduction

sPotholes

Stories in Ready

This repository is for our sPotholes administrative backend, API, and web frontend.

Setup

This project expects you to at least have Ruby 2.1+ and Homebrew installed.

After you clone the repo, navigate to spotholes directory and run:

./bin/setup

This will walk you through the setup of the tools for the project for Mac OS X and Homebrew. Additional platform setup scripts/updates are welcome.

Dependencies

sPotholes uses the following tools/libraries outside of the gem bundle.

  • imagemagick (v6.8.9)
  • libwebp (v0.4.2)
  • node.js (v0.12) - This includes npm
  • bower (v1.3.12) - installed via npm (sudo) npm install -g bower

sPotholes uses Google Maps Embed API and requires a browser key to function. This can be obtained by following these instructions. You'll need an app and enable Google Maps Embed API for said app. Then use the credentials section of APIs & auth, to create a Public API access key. The browser version.

Manually Setting Up Local Environment

For image manipulation you will need to install imagemagick and libwebp.

You can install imagemagick and libwebp via homebrew:

brew install imagemagick
brew install webp

Note: If either package is not available, you may need to update homebrew. brew update

Alternate Install libwebp via macports:

First update macports, then install libwebp:

sudo port selfupdate
sudo port install webp

Install node.js and bower

brew install node
npm install -g bower

Get web components

bower install

Set up the database (from within the sPotholes directory):

rake db:create
rake db:migrate

####We recommed using [POW] (http://pow.cx/) for the local server as it is pretty much configuration free.

Just do:

curl get.pow.cx | sh

And then:

cd ~/.pow
ln -s /path/to/spotholes

That's it! Your application is now being served at: http://spotholes.dev

Contributing

  1. Fork it ( https://github.com/CodeforBirmingham/spotholes/fork )
  2. Clone your fork
  3. Add source repo as org (git remote add org [email protected]:CodeforBirmingham/spotholes.git)
  4. Create your feature branch (git checkout -b my-new-feature)
  5. Commit your changes (git commit -am 'Add some feature')
  6. Push to the branch (git push origin my-new-feature)
  7. Create a new Pull Request

spotholes's People

Contributors

baird avatar davidgrieser avatar sneakernets avatar spencesellers avatar

Watchers

 avatar James Cloos avatar

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.