Giter VIP home page Giter VIP logo

nkotbpartyomg / refugerestrooms Goto Github PK

View Code? Open in Web Editor NEW

This project forked from refugerestrooms/refugerestrooms

0.0 2.0 0.0 16.77 MB

REFUGE restrooms indexes and maps safe restroom locations for trans, intersex, and gender nonconforming individuals.

Home Page: http://www.refugerestrooms.org

License: GNU Affero General Public License v3.0

Ruby 21.35% CoffeeScript 1.45% HTML 6.68% JavaScript 58.53% CSS 10.27% Gherkin 0.33% ApacheConf 0.90% Shell 0.49%

refugerestrooms's Introduction

Production CI: Build Status

Develop CI: Build Status

Stories in Ready

REFUGE restrooms

Providing safe restroom access for transgender, intersex, and gender noncomforming individuals.

REFUGE is an effort to fill the hole left by the now-defunct Safe2Pee website. It provides a resource for trans* and queer individuals in need of gender neutral and other safe restrooms.

This project is open source. Feel free to contribute. We could use the help.

Deployment

This repo is set to automaticly deploy to heroku. Any time there is a merge into develop, the develop branch will get deployed to refugestaging.herokuapp.com. Any time there is a merge into master, the master branch will be released to refugerestrooms.org

When you want to make a release, you should do the following:

  1. Check the status of the app on refugestaging.herokuapp.com and make sure its functional.
  2. Make sure the the most recent build of develop is passing on TravisCI
  3. Run git flow release start %{release number}
  4. Run git shortlog --grep "Merge pull request #" %{previous release}..HEAD and copy the contents into a new issue with the release tag here on github. This command gives you a list of PRs merged since the previous release.
  5. git flow release finish and copy the contents of #4 into the release tags.
  6. git push in the master branch and git push --tags
  • this will trigger the heroku deploy to production.

Manual Releases

Currently right now we deploy to heroku. Our application is small enough that it is free to host on Heroku, and we dont mind the server having to wake up if nobody has accessed the site in a while.

We have both a staging and a production instance on heroku. The staging instance can be found at http://refugestaging.herokuapp.com/

Here are the steps to deploy:

  1. Talk to @tkwidmer about getting access as a collaborator for both the production and staging heroku instances.
  2. Link your local repo to the heroku remote repos. I suggest doing it this way:
  1. git flow release start %{release number}
  2. git push staging release/%{release number}:master and verify your changes on staging. (run any migrations heroku run rake db:migrate --remote staging)
  3. Run git shortlog --grep "Merge pull request #" %{previous release}..HEAD and copy the contents.
  4. git flow release finish and copy the contents of #5 into the release tags.
  5. git push and git push --tags
  6. git push production master and run any migrations heroku run rake db:migrate --remote production

Tech

  • Ruby Version - ruby-2.1.1
  • Ruby on Rails
  • RSpec
  • Javascript
  • HTML / SASS
  • Postgres
  • Geocoder Gem
  • Google Maps API
  • Twitter Bootstrap Framework
  • Deployed on Heroku

Links to Refuge project on other platforms

IRC

Server: irc.freenode.com Channel: #refugerestrooms

License

Copyright (C) 2014 Teagan Widmer

This program is free software; you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License along with this program. If not, see http://www.gnu.org/licenses/.

refugerestrooms's People

Contributors

agrajag-petunia avatar awoitte avatar backspace avatar cllns avatar crackofdusk avatar cubeghost avatar dominic avatar eleather avatar emfetz avatar emilysaccount avatar emstans avatar eriese avatar f3ndot avatar g-knee avatar gnarf avatar johana-star avatar kevjames3 avatar kiesia avatar lisafrench avatar lsblakk avatar mathonsunday avatar mi-wood avatar mknadler avatar nataliegroman avatar pamo avatar r19m89s avatar rakuista avatar rsid avatar tkwidmer avatar valeriecodes avatar

Watchers

 avatar  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.