tfeel

command module
v0.0.0-...-53edcf5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 12, 2018 License: Apache-2.0 Imports: 18 Imported by: 0

README

TFEEL

Personal project, does not represent Google

Short for Twitter Feeling... simple sentiment analyses over tweeter data for specific terms using Google Cloud services:

tfeel data flow

All GCP services used in this example can be run under the GCP Free Tier plan. More more information see https://cloud.google.com/free/

Configuration

Edit the scripts/config.sh file with your Twitter API info. Alternatively define the following environment variables. Instractions how to configure your Twitter API access codes are found here:

# export T_CONSUMER_KEY=""
# export T_CONSUMER_SECRET=""
# export T_ACCESS_TOKEN=""
# export T_ACCESS_SECRET=""

Dependencies

tfeel depends on a few GCP services. You can setup these servicesmanually followingthe commandsfound in the scripts/setup.sh file or just execute that script. This script will also configure a service account for the tfeel application to run under.

Run

Once all the necessary GC resources have been created (dependencies) you can execute the tfeel application using the scripts/run.sh script.

Cleanup

The cleanup of all the resources created in this application can be accomplished by executing the scripts/cleanup.sh script.

TODO
  • Tests, yes please
  • Minimize account service roles (currently, project editor)

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL