Skip to content

ipam73/charm_city_readers

Repository files navigation

reading-challenge

Reading Challenge App for School Districts

Production app

Developing

You can see this on localhost:5000

To run:

  • 1: Make a config file in the web dir called config.coffee with the following:
module.exports =
  HOST: 'localhost'
  PORT: 5000
  CLIENT_ID: ""
  CLIENT_SECRET: ""
  AUTH_URL: "https://clever.com/oauth"
  API_URL: "https://api.clever.com"
  SESSION_SECRET: ""
  FIREBASE_ACCOUNT: # json object by creating new key for node-backend at https://console.firebase.google.com/iam-admin/serviceaccounts/project?project=firebase-reading-challenge&consoleReturnUrl=https:%2F%2Fconsole.firebase.google.com%2Fproject%2Ffirebase-reading-challenge%2Foverview
  • 2: To run the web app
make run
  • 3: To run android app
    open genymotion -> start virtual device
    react-native run-android
    react-native log-android // SHOWS ANDROID LOGS

To update apk:

  • Update version in: /android/app/src/main/AndroidManifest.xml and android/app/build.gradle
  • Generete apk: cd android && ./gradlew assembleRelease
  • Test prod release locally with: react-native run-android --variant=release
  • Troubleshooting: adb -e uninstall com.reactnativesource
  • Upload to dev console in play store

To test on android device:

  • If old android phone, follow instructions. When entering port in dev settings, make sure to enter ip:8081.

To test: use this district id: 56ae8e9c5994560100000ae4

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published