Skip to content

denimandsteel/megaphone-server-public

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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