{"id":18541877,"url":"https://github.com/cltk/cltk_api_v2","last_synced_at":"2025-10-04T21:06:05.900Z","repository":{"id":76838732,"uuid":"72934324","full_name":"cltk/cltk_api_v2","owner":"cltk","description":null,"archived":false,"fork":false,"pushed_at":"2017-12-12T19:51:06.000Z","size":101,"stargazers_count":1,"open_issues_count":1,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-17T08:41:44.986Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cltk.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-11-05T15:19:52.000Z","updated_at":"2017-07-10T08:07:04.000Z","dependencies_parsed_at":null,"dependency_job_id":"70ae066a-776c-4523-847e-b9dbc5779210","html_url":"https://github.com/cltk/cltk_api_v2","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cltk%2Fcltk_api_v2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cltk%2Fcltk_api_v2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cltk%2Fcltk_api_v2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cltk%2Fcltk_api_v2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cltk","download_url":"https://codeload.github.com/cltk/cltk_api_v2/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254270650,"owners_count":22042861,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-06T20:06:36.256Z","updated_at":"2025-10-04T21:06:00.856Z","avatar_url":"https://github.com/cltk.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# About\n\nThis is the CLTK's API, including the code, Dockerfile, and deployment script for Google Cloud Platform.\n\nTo develop and run this app and run on GCP:\n\n1. If you're only testing the Flask app, just serve with `python app/app.py`. Check with `curl 0.0.0.0:5000`.\n1. [Install Docker](https://www.docker.com/) on your local machine.\n1. Run `gcp.sh build` to test that everything works fine. `curl localhost` will give you a 200 response. \n1. Install the [GCP commandline tools](https://cloud.google.com/sdk/docs/#install_the_latest_cloud_tools_version_cloudsdk_current_version).\n1. Initialize gcloud settings with `gcloud init`.\n1. Edit the variables at the top of `gcp.sh` if you need.\n1. Run `gcp.sh 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.\n1. To update an already-deployed service, increment `DOCKER_BUILD_VERSION` and run `./gcp.sh build` and then `./gcp.sh update`.\n1. To completely teardown your remote deployment, run `gcp.sh destroy`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcltk%2Fcltk_api_v2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcltk%2Fcltk_api_v2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcltk%2Fcltk_api_v2/lists"}