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

Commit d2421fb

Browse files
committed
update README & fix perms
1 parent 9904f01 commit d2421fb

File tree

21 files changed

+19
-4
lines changed

21 files changed

+19
-4
lines changed

README.md

100755100644
File mode changed.

step5a-gae-ndb-tasks-py2/.gcloudignore

100755100644
File mode changed.

step5a-gae-ndb-tasks-py2/README.md

100755100644
Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,12 @@ The goal of the Step 5 series of codelabs and repos like this is to help App Eng
77
- Codelab tutorials give hands-on experience and build "migration muscle-memory"
88
- More code samples gives developers a deeper understanding of migration steps
99

10-
In this codelab/repo, participants start with the code in the (completed) [Step 1 repo](https://github.com/googlecodelabs/migrate-python-appengine-datastore/tree/master/step1-flask-gaendb-py2) where developers migrated to the Flask web framework and add support for Push Task Queues using the App Engine `taskqueue` API library. As you will recall, the sample app registers each visit (`GET` request to `/`) by creating a new `Visit` Entity for it then fetches and displays the 10 most recent `Visit`s in the web UI.
10+
In short, these are the Step 5 codelabs/repos:
11+
- Step 5a ([codelab](https://codelabs.developers.google.com/codelabs/cloud-gae-python-migrate-5a-gaetasksndb.md), [repo](/step5a-gae-ndb-tasks-py2)): Add push tasks (App Engine `taskqueue`) to Step 1 ([codelab](https://codelabs.developers.google.com/codelabs/cloud-gae-python-migrate-1-flask), [repo](/step1-flask-gaendb-py2)) Flask & `ndb` Python 2 app
12+
- Step 5b ([codelab](https://codelabs.developers.google.com/codelabs/cloud-gae-python-migrate-5b-cloudtasksndb.md), [repo](/step5b-cloud-ndb-tasks-py2)): Migrate from App Engine `ndb` & `taskqueue` to Cloud NDB & Cloud Tasks
13+
- Step 5c ([codelab](https://codelabs.developers.google.com/codelabs/cloud-gae-python-migrate-5c-cloudtasksds.md), [repo](/step5c-cloud-ndb-tasks-py3)): Migrate Step 5b app to second-generation Python 3 App Engine & Cloud Datastore
14+
15+
In *this* codelab/repo, participants start with the code in the (completed) [Step 1 repo](https://github.com/googlecodelabs/migrate-python-appengine-datastore/tree/master/step1-flask-gaendb-py2) where developers migrated to the Flask web framework and add support for Push Task Queues using the App Engine `taskqueue` API library. As you will recall, the sample app registers each visit (`GET` request to `/`) by creating a new `Visit` Entity for it then fetches and displays the 10 most recent `Visit`s in the web UI.
1116

1217
This codelab step adds a push task to delete all `Visit`s older than the oldest entry. If you haven't completed the [Step 1 codelab](https://codelabs.developers.google.com/codelabs/cloud-gae-python-migrate-1-flask), we recommend you do so to familiarize yourself with the Step 1 codebase.
1318

step5a-gae-ndb-tasks-py2/app.yaml

100755100644
File mode changed.

step5a-gae-ndb-tasks-py2/appengine_config.py

100755100644
File mode changed.

step5a-gae-ndb-tasks-py2/main.py

100755100644
File mode changed.

step5a-gae-ndb-tasks-py2/requirements.txt

100755100644
File mode changed.

step5a-gae-ndb-tasks-py2/templates/index.html

100755100644
File mode changed.

step5b-cloud-ndb-tasks-py2/.gcloudignore

100755100644
File mode changed.

step5b-cloud-ndb-tasks-py2/README.md

100755100644
Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,12 @@ The goal of the Step 5 series of codelabs and repos like this is to help App Eng
77
- Codelab tutorials give hands-on experience and build "migration muscle-memory"
88
- More code samples gives developers a deeper understanding of migration steps
99

10-
In this codelab/repo, participants start with the code in the (completed) [Step 5a repo](https://github.com/googlecodelabs/migrate-python-appengine-datastore/tree/master/step5a-gae-ndb-tasks-py2). That repo resulted from taking the [Step 1 sample app](https://github.com/googlecodelabs/migrate-python-appengine-datastore/tree/master/step1-flask-gaendb-py2) and adding push tasks to it using the App Engine `taskqueue` API library.
10+
In short, these are the Step 5 codelabs/repos:
11+
- Step 5a ([codelab](https://codelabs.developers.google.com/codelabs/cloud-gae-python-migrate-5a-gaetasksndb.md), [repo](/step5a-gae-ndb-tasks-py2)): Add push tasks (App Engine `taskqueue`) to Step 1 ([codelab](https://codelabs.developers.google.com/codelabs/cloud-gae-python-migrate-1-flask), [repo](/step1-flask-gaendb-py2)) Flask & `ndb` Python 2 app
12+
- Step 5b ([codelab](https://codelabs.developers.google.com/codelabs/cloud-gae-python-migrate-5b-cloudtasksndb.md), [repo](/step5b-cloud-ndb-tasks-py2)): Migrate from App Engine `ndb` & `taskqueue` to Cloud NDB & Cloud Tasks
13+
- Step 5c ([codelab](https://codelabs.developers.google.com/codelabs/cloud-gae-python-migrate-5c-cloudtasksds.md), [repo](/step5c-cloud-ndb-tasks-py3)): Migrate Step 5b app to second-generation Python 3 App Engine & Cloud Datastore
14+
15+
In *this* codelab/repo, participants start with the code in the (completed) [Step 5a repo](https://github.com/googlecodelabs/migrate-python-appengine-datastore/tree/master/step5a-gae-ndb-tasks-py2). That repo resulted from taking the [Step 1 sample app](https://github.com/googlecodelabs/migrate-python-appengine-datastore/tree/master/step1-flask-gaendb-py2) and adding push tasks to it using the App Engine `taskqueue` API library.
1116

1217
This tutorial performs a pair of migrations from that starting point:
1318
- Migrate from App Engine `ndb` to Google Cloud NDB (same as [Step 2 codelab](https://codelabs.developers.google.com/codelabs/cloud-gae-python-migrate-2-cloudndb))
@@ -237,5 +242,5 @@ There are no changes to `templates/index.html` in this step nor Step 5c.
237242

238243
Deploy to App Engine and confirm everything still works. Once you're satisfied, move onto the next step:
239244

240-
- [**Step 5c:**](/step5b-cloud-datastore-tasks-py3) Migrate your Step 5b Cloud Tasks app from Python 2 to 3 and from Cloud NDB to Cloud Datastore
245+
- [**Step 5c:**](/step5c-cloud-datastore-tasks-py3) Migrate your Step 5b Cloud Tasks app from Python 2 to 3 and from Cloud NDB to Cloud Datastore
241246

0 commit comments

Comments
 (0)