Code Monkey home page Code Monkey logo

people-action's Introduction

people-action map

The people-action map aims to make community action and support information useful.

The end-user solution consists of 2 parts:

The technology solution consists mainly of the following:

See the README.md documents in the above directories for further technical information.

Creating a deployment

TODO: automate the below

Create a project in Firebase console.

Change to Blaze pay-as-you-go plan and enable billing in Firebase console](https://console.firebase.google.com/).

Create Firebase apps for the admin app and map website respectively, in Firebase console. Select type 'web', and create/include Firebase Hosting sites for each.

Get the service config details for the staging and production admin apps from Firebase console. Paste the details against firebase in ./admin/src/environments/environment.ts and ./admin/src/environments/environment.prod.ts, for example:

firebase: {
  projectId: 'some-app',
  appId: '...',
  databaseURL: 'https://some-app.firebaseio.com',
  storageBucket: 'some-app.appspot.com',
  apiKey: '...',
  authDomain: 'some-app.firebaseapp.com',
  messagingSenderId: '...'
}

Create a Firestore database in Firebase console.

Activate Authentication providers 'Google' and 'Phone' in Firebase console.

Select the project in the Google Cloud Platform IAM Service Accounts pane, select the app engine default service account, and create a JSON key. Save it somewhere safe for use with GOOGLE_APPLICATION_CREDENTIALS - see database/functions/README.md.

Create an API key in the Google Cloud Platform APIs Credentials pane (ideally restrict the key), and keep it safe for use with GOOGLE_MAPS_API_KEY - see database/functions/README.md.

Enable the following APIs in the Google Cloud Platform APIs Dashboard pane:

  • Places API
  • Maps Embed API

Replace old project and app names with new in all files (yes, blunt knife find and replace for now).

Deploy the rest using the instructions in README.md files in:

people-action's People

Contributors

rikusv avatar

Watchers

James Cloos 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.