No description, website, or topics provided.
Python Shell
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


This is the CLTK's API, including the code, Dockerfile, and deployment script for Google Cloud Platform.

To develop and run this app and run on GCP:

  1. If you're only testing the Flask app, just serve with python app/ Check with curl
  2. Install Docker on your local machine.
  3. Run build to test that everything works fine. curl localhost will give you a 200 response.
  4. Install the GCP commandline tools.
  5. Initialize gcloud settings with gcloud init.
  6. Edit the variables at the top of if you need.
  7. Run deploy. This will take about 5 minutes (including time both to push files to the server, and for Google to launch and assign an external IP) and at the end you'll be given an external IP to go to. This should also give a 200 response.
  8. To update an already-deployed service, increment DOCKER_BUILD_VERSION and run ./ build and then ./ update.
  9. To completely teardown your remote deployment, run destroy.