Skip to content
This repository has been archived by the owner on Mar 15, 2024. It is now read-only.

Commit

Permalink
add edu info; minor README updates
Browse files Browse the repository at this point in the history
  • Loading branch information
wescpy committed Jan 11, 2023
1 parent 0d79eae commit 7a7e34f
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 5 deletions.
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,23 @@ Furthermore, deploying to GCP serverless platforms incur [minor build and storag
More specific cost information for each sample is available in their respective README files.


### Academic use

#### Teaching and research grants

If you are a faculty member or lecturer at a regionally-accredited, degree-granting, and not-for-profit higher ed institution in one of [75+ supported countries worldwide](https://support.google.com/google-cloud-higher-ed/answer/10723190) teaching a course where students are expected to code or use resources in the cloud, you may be eligible to grant your students (plus yourself and teaching assistants) free usage of Google Cloud. Explore faculty resources at <http://cloud.google.com/edu> to learn more about our _education (teaching and [initial] research) grants_. **@Students:** send your instructors there so they can get you access to Google Cloud.


#### Cloud computing curriculum

If you are an educator who wishes to add cloud computing to your curriculum or seek to enhance it with Google Cloud teaching materials, take a look at our [free 10-module, 40-hour complete course](https://cloud.google.com/edu/curriculum).


#### Hands-on training for self-paced online tutorials

For a hands-on learning experience on all aspects of Google Cloud, both students and faculty can get their hands on free _training credits_ for [Cloud Skills Boost hands-on labs powered by QwikLabs](https://cloudskillsboost.google). Apply for those credits at <http://cloud.google.com/edu> as well.


## Testing

Each app has its own testing battery; refer to each sample's folder to learn about implemented tests.
11 changes: 6 additions & 5 deletions cloud/python/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,8 @@ File | Description

Instructions:

1. **Edit** `app.yaml` (see above); optionally **delete** `lib` and `appengine_config.py` (unused)
1. **Edit** `app.yaml` (see above)
1. (optional) **Delete** `app.yaml`, `lib` and `appengine_config.py` (unused)
1. **Run** `gcloud app deploy` to deploy to Python 3 App Engine
- You'll be prompted for the REGION if deploying to App Engine the first time.
- App Engine apps are tied to one region, so it can't be changed once it's set, meaning you won't be prompted thereafter.
Expand All @@ -140,7 +141,7 @@ File | Description

Instructions:

1. (optionally) **Delete** `app.yaml`, `lib` and `appengine_config.py` (unused)
1. (optional) **Delete** `app.yaml`, `lib` and `appengine_config.py` (unused)
1. **Run** `gcloud functions deploy translate --runtime python310 --trigger-http --allow-unauthenticated` to deploy to Cloud Functions (or Python 3.7-3.9)
- That command creates &amp; deploys a new HTTP-triggered Cloud Function (name must match what's in `main.py`)
- You'll be prompted for the REGION if deploying a Cloud Function the first time.
Expand All @@ -164,7 +165,7 @@ File | Description

Instructions:

1. (optionally) **Delete** `app.yaml`, `lib` and `appengine_config.py` (unused)
1. (optional) **Delete** `app.yaml`, `lib` and `appengine_config.py` (unused)
1. **Run** `gcloud run deploy translate --allow-unauthenticated --platform managed` to deploy to Cloud Run
- The above command wraps `docker build` and `docker push`, deploying the image to [Cloud Artifact Registry](https://cloud.google.com/artifact-registry) (must be enabled), and finally `docker run` to deploy the service, all in one convenient command.
- You'll be prompted to provide a REGION unless you also add `--region REGION` on the cmd-line
Expand Down Expand Up @@ -194,7 +195,7 @@ File | Description

Instructions:

1. (optionally) **Delete** `app.yaml`, `lib` and `appengine_config.py` (unused)
1. (optional) **Delete** `app.yaml`, `lib` and `appengine_config.py` (unused)
1. **Edit** `Dockerfile` (see above)
1. **Run** `gcloud run deploy translate --allow-unauthenticated --platform managed` to deploy to Cloud Run
- The above command wraps `docker build` and `docker push`, deploying the image to [Cloud Artifact Registry](https://cloud.google.com/artifact-registry) (must be enabled), and finally `docker run` to deploy the service, all in one convenient command.
Expand Down Expand Up @@ -224,7 +225,7 @@ File | Description

Instructions:

1. (optionally) **Delete** `app.yaml`, `lib` and `appengine_config.py` (unused)
1. (optional) **Delete** `app.yaml`, `lib` and `appengine_config.py` (unused)
1. **Delete** `Dockerfile` (or rename it)
- There is no support for Python 2 with Cloud Buildpacks (2.x developers must use Docker)
1. **Run** `gcloud run deploy translate --allow-unauthenticated --platform managed` to deploy to Cloud Run
Expand Down

0 comments on commit 7a7e34f

Please sign in to comment.