Skip to content
This repository was archived by the owner on Oct 1, 2025. It is now read-only.

Commit a148cad

Browse files
committed
minor README fixes
Change-Id: I1675ced2a6e09dc15f8a4e7b11d9a956ca692c58
1 parent 347d3f9 commit a148cad

File tree

5 files changed

+13
-14
lines changed

5 files changed

+13
-14
lines changed

README.md

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -41,27 +41,26 @@ We suggest considering where you want to end up eventually, playing with each mi
4141

4242
## Table of Contents
4343

44-
Each of the migration steps have their own codelabs & corresponding overview videos:
44+
Each major migration step has its own codelab & corresponding overview video. The step numbers correspond to their own folders, and generally each have folders for Python 2 & 3 ports. Some have an alternative or secondary succeeding migration&emdash;these end with "a", i.e., "Step 2a".
4545

4646
1. Migrate from `webapp2` to Flask
4747
- Stongly recommended if you have a web UI
4848
- You can use another web framework as long as it supports routing
4949
1. Migrate from App Engine NDB to Cloud NDB
5050
- Stongly recommended
5151
- Can migrate from Python 2 to 3 after this step
52-
- Can migrate directly to Cloud Run after this step (see Step "2a" below)
52+
- Can migrate directly to Cloud Run after this step (see Step 2a below)
5353
- Remaining datastore migration steps optional
5454
1. Migrate from Cloud NDB to Cloud Datastore
5555
- Cloud NDB works on both Python 2 & 3 App Engine runtimes (old & new), so it is optional
5656
- Recommended if already using Cloud Datastore in other (App Engine *and* non-App Engine) apps & want a consistent/reusable codebase plus reduce maintenance costs
5757
- If all you have are App Engine apps using Cloud NDB, there's no need to do this migration
58-
1. Migrate from Cloud Datastore to (native) Cloud Firestore
59-
- If your app (Cloud project) uses Datastore, you cannot use Firestore.
60-
- Requires new project as Cloud Datastore & Cloud Firestore mutually-exclusive
61-
- Most developers will NOT do this migration unless you *must have* Firestore's Firebase features
58+
- Can migrate to [Cloud Firestore](http://cloud.google.com/firestore) after this step (see Step 3a below)
59+
- Infrequent/uncommon as it is "expensive" (requires new project & you give up some performance)
60+
- It's for those who **must have** Firestore's (new) Firebase features
6261
1. Migrate from App Engine to Cloud Run (using Cloud Datastore)
6362
- Migrate your app to a container with Docker
64-
- Alternative container migration with Buildpacks (see Step "5a" below)
63+
- Alternative container migration with Buildpacks (see Step "4a" below)
6564

6665
## Summary
6766

@@ -71,7 +70,7 @@ Python 2 | Next | Python 3 | Description
7170
--- | --- | --- | ---
7271
`step0-webapp2-gaendb-py2` | ⇓ | _N/A_ | Original GAE sample on GAE `ndb` & `webapp2`
7372
`step1-flask-gaendb-py2` | ⇓ | _N/A_ | Migrate to Flask ("gaendb" _N/A_ for Python 3)
74-
`step2-flask-cloudndb-py2` | ⇓ or ⇒ or ⤓* | `step2-flask-cloudndb-py3` | Migrate to Cloud NDB
73+
`step2-flask-cloudndb-py2` | ⇓ or ⇒ or ⤓ª | `step2-flask-cloudndb-py3` | Migrate to Cloud NDB
7574
`step3-flask-datastore-py2` | ⇓ or ⇒ or ⤓+º | `step3-flask-datastore-py3` | Migrate to Cloud Datastore
7675
`step4-flask-cloudrun-py2` | ⇒ | `step4-flask-cloudrun-py3` | Migrate to Cloud Run (with Docker)
7776

@@ -85,8 +84,8 @@ There are two ways to deploy containerized apps to Cloud Run, traditionally with
8584

8685
Python 2 | Next | Python 3 | Description
8786
--- | --- | --- | ---
88-
*`step2a-flask-cloudndb-cloudrun-py2` | _N/A_ | _N/A_ | Migrate (Python 2, Flask, Cloud NDB app) to Cloud Run (with Docker)
89-
_N/A_ | _N/A_ | º`step3a-flask-firestore-py3` | Migrate to Cloud Firestore (uncommon)
87+
ª`step2a-flask-cloudndb-cloudrun-py2` | _N/A_ | _N/A_ | Migrate (Python 2, Flask, Cloud NDB app) to Cloud Run (with Docker)
88+
_N/A_ | _N/A_ | º`step3a-flask-firestore-py3` | Migrate to Cloud Firestore (uncommon; see above)
9089
_N/A_ | _N/A_ | +`step4a-flask-cloudrun-bldpks-py3` | Migrate to Cloud Run (with Cloud Buildpacks)
9190

9291
### Canonical code samples

step2a-flask-cloudndb-cloudrun-py2/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Step 2 (EXTRA) - Migrate from App Engine NDB to Google Cloud NDB and port to Cloud Run
1+
# Step 2 (EXTRA) - After migrating to Google Cloud NDB, port to Cloud Run
22

33
## Introduction
44

step3a-flask-firestore-py3/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Step 3a (EXTRA) - Migrate from Google Cloud Datastore to Cloud Firestore
1+
# Step 3a (EXTRA) - After migrating to Cloud Datastore, port to Cloud Firestore
22

33
## Introduction
44

step4-flask-cloudrun-py3/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Step 4 (EXTRA) - Migrate from Google App Engine to Cloud Run and port to Python 3 (with Docker)
1+
# Step 4 (EXTRA) - After migrating to Cloud Run, port to Python 3 (with Docker)
22

33
## Introduction
44

step4a-flask-cloudrun-bldpks-py3/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Step 4 (EXTRA) - Migrate from Google App Engine to Cloud Run (with Cloud Buildpacks)
1+
# Step 4a (EXTRA) - Migrate from Google App Engine to Cloud Run (with Cloud Buildpacks)
22

33
## Introduction
44

0 commit comments

Comments
 (0)