Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/robintw/CloudFrequencyApp
CloudFrequency webapp, using Google App Engine
https://github.com/robintw/CloudFrequencyApp
Last synced: about 1 month ago
JSON representation
CloudFrequency webapp, using Google App Engine
- Host: GitHub
- URL: https://github.com/robintw/CloudFrequencyApp
- Owner: robintw
- Created: 2015-07-13T22:17:31.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2018-04-29T20:21:36.000Z (about 6 years ago)
- Last Synced: 2024-01-11T20:32:53.399Z (6 months ago)
- Language: JavaScript
- Size: 23.4 KB
- Stars: 4
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Lists
- awesome-earthobservation-code - cloud frequency app - CloudFrequency webapp, using Google App Engine `Python` `JavaScript` (Earth Engine / Testing your code)
README
Earth Engine Demo: Trendy Lights
================================[Live Demo](https://trendy-lights-dot-ee-demos.appspot.com)
This is an example [Google App Engine](https://cloud.google.com/appengine/docs)
web app that communicates with [Google Earth Engine](https://earthengine.google.org).
It uses memcache to cache results and avoid exceeding request quotas.Download Trendy Lights
----------------------Download the Earth Engine API repository from GitHub:
git clone https://github.com/google/earthengine-api.git
Navigate to the Trendy Lights example code:
cd ./earthengine-api/demos/trendy-lights/
Create your own project
-----------------------Each App Engine app needs its own project. The project ID for
the default instance of this app is `trendy-lights`. To deploy
your own instance, you'll need to create a new project with a
different ID.To create an App Engine project for your app:
1. Open the [Google Developers Console](https://console.developers.google.com).
2. Click **Create Project**.
3. Enter a project name and a project ID.
4. Click **Create**.Once you've selected a project ID, update your `app.yaml` file.
Set up a service account
------------------------- [Create a service account](https://developers.google.com/earth-engine/service_account).
- Download a P12 private key from the Google Developers Console.
- Convert the private key of that service account to a `.pem` file:
`openssl pkcs12 -in downloaded-privatekey.p12 -nodes -nocerts > privatekey.pem`
- Copy the `.pem` file into the directory that has your app.yaml file.
- Update `config.py` file with your service account email address.Build the app
-------------From within the trendy-lights folder, run:
. ./build.sh
This script will build the app and fetch all its dependencies. It will also
install the [Google Cloud SDK](https://cloud.google.com/sdk/) if necessary.Run the app!
------------From within the trendy-lights folder, run:
dev_appserver.py ./