Fusion Tables Archive Visualizer

Description

Visualize archived Fusion Tables from Google Drive.

Links

Development

Prerequisites

Make sure you have the following tools installed:

  • git
  • node
  • npm

Installation

After cloning the repository, install all dependencies:

npm install # install dependencies

Install the Google Cloud SDK and initialize it by running:

gcloud init

Configuration

Setup the gcloud to your project ID like this:

gcloud config set project my-project-id

Create an OAuth token for the client authentication in your Google Cloud Project. Set the client ID to the GOOGLE_SIGNIN_CLIENT_ID environment variable like this:

export GOOGLE_SIGNIN_CLIENT_ID="XXXXXXXXXXX.apps.googleusercontent.com"

Create a API key for Google Maps and Google Drive. Store that in an environment variable called API_KEY like this:

export API_KEY="my-key"

To help with environment variable handling on a project level, check out direnv.

Develop

Run the following command to start the visualizer on localhost:

npm start # start the visualizer

Deploy

Run the following command to deploy the application:

npm run deploy

Hosting

The project is hosted at AppEngine