Megaphone Server
Ruby HTML CSS JavaScript CoffeeScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
bin
config
db
lib
public
test
vendor/assets
.gitignore
Gemfile
Gemfile.lock
LICENSE
Procfile
README.md
Rakefile
config.ru

README.md

Megaphone Server

The server-side code for Megaphone Magazine's App, helps customers find and pay vendors on the streets of Vancouver and Victoria, BC. You can use this code under Non-Profit Open Software license and make the necessary changes to make it work with your street paper and your city.

This backend service is built with Ruby on Rails.

Prerequisites

You will need the following things properly installed on your computer or set up:

Installation

  • git clone <repository-url> this repository
  • change into the new directory
  • bundle install

Running / Development

  • rails server

Environment Variables

Make sure you have the following environment variables set up:

  • Stripe: STRIPE_PUBLISHABLE_KEY and STRIPE_SECRET_KEY
  • AWS and S3: ACCESS_KEY_ID, SECRET_ACCESS_KEY, S3_REGION and S3_BUCKET
  • FCM: FCM_ACCESS_TOKEN

Further Reading / Useful Links