/NorthShoreCDC

Punto Urban Art Museum App to showcase street art murals for NSCDC in Salem, MA

Primary LanguageJavaScriptMIT LicenseMIT

PUAM Logo

Punto Urban Art Museum App

Open Source Love Contributors License

The Punto Urban Art Museum's vision is to create a world class urban arts district in Salem’s Point Neighborhood, one that embraces its rich immigrant and architectural history and presents a dynamic opportunity for the neighborhood’s future. The PUAM App allows the user to explore over 50 murals in this neighborhood, browse them using a map view or a gallery view, and read details about each mural.

  

This app is a project of North Shore Community Development Coalition and JumboCode.

screenshot screenshot screenshot screenshot screenshot
screenshot screenshot screenshot screenshot screenshot

Test / Develop Locally

Run the react-native App locally

  • Create a file firebase.js in PUAMapp/ containing:
var config = {... firebase config info ...};
export default config;
  • Create a file sentry.js in PUAMapp/ containing:
var configString = {... sentry config string ...};
export default configString;
  • Install the dependencies and start the packager:
cd PUAMapp
npm install
npm start
  • Build standalone apps
npm install -g exp
exp build:ios
exp build:android

Run the Flask site locally

  • Set up a virtual environment with Python 2.7.13. We use pyenv-virtualenv on Mac.
  • Set the environment variables:
cd flask
export FIREBASE_PATH=<firebase path>
export FIREBASE_KEY=<firebase key>
export APP_KEY=<app key>
export SECRET_KEY=<secret key>
export FLASK_APP=app.py
export FLASK_DEBUG=1
  • Install requirements and start the server:
pip install -r requirements.txt
flask run
sh push_to_heroku.sh

Our Team