Commit Graph

66 Commits

Author SHA1 Message Date
Usha Mandya 654c0e613a
Merge pull request #12538 from longqua69/patch-1
doc: clarify the docs
2021-03-24 16:51:08 +00:00
Stefan Scherer 57ed6ccb21
Fix some commands to make tutorial work
Signed-off-by: Stefan Scherer <stefan.scherer@docker.com>
2021-03-24 15:49:28 +01:00
Matthijs Boonstra 7e1554b500
Update develop.md
Quick grammar fix: run -> runs
Set the mysql server to use the root password as used in the Flask application

Changed checking the MySQL server from using `docker run` to `docker exec` since you want to log in to the existing mysql container. Added the password as set by the previous `docker run` command.

Changed @app.route to `initdb`, the path used in later parts of the tutorial.

(cherry picked from commit 473930c972)
2021-03-24 15:36:30 +01:00
Stefan Scherer 313595cd19
Use port 5000
Signed-off-by: Stefan Scherer <stefan.scherer@docker.com>
2021-03-24 15:33:04 +01:00
Usha Mandya 6eddfb8e66
Merge pull request #12371 from mradamt/master
Update code snippets, typo, formatting
2021-03-24 14:28:33 +00:00
Anh Tran 0c654c5aac
doc: fix typo
remove wrong comma
2021-03-21 23:12:38 +07:00
Anh Tran 1ae0ec9d48
doc: clarify the docs 2021-03-21 22:40:01 +07:00
Mark Goho 7fd7b5350b
remove hard-coded image owner 2021-03-18 16:45:08 -04:00
Whitney Wong 2973369052
Minor typo correction
Replaced `docker-python` directory reference with `python-docker` to reduce confusion when following the tutorial. The tutorial establishes creating a `python-docker` directory, so proposing this change to maintain consistency with instructions.
2021-03-14 17:38:18 -05:00
Matt Rhoads 12c794d68c
Fixed typo (#12359)
Changed database reference from MongoDB to MySQL
2021-03-11 15:10:03 +00:00
荒野大镖客 5adb870c96
Update develop.md
the curl  address  is /initdb
2021-02-26 17:17:02 +08:00
Adam Tyler f7a1fcb594 Update code snippets, typo, formatting 2021-02-22 19:20:56 -08:00
uigctaw 1cefb43b7b
Getting started python fixes (#12217)
* Fix CMD arguments

The previous CMD command doesn't actually start the service.

* Simplify (and fix) curl command

Previously it was specifying a lot of parameters that in our case are optional and IMO don't help with understanding what's going on.
Furthermore the previous command was asking for a `/test` page which we do not serve.
And finally it was using POST which is not supported in our app created in the previous step.

* Fix typo
2021-02-05 16:03:47 +00:00
Usha Mandya 4b828eeaed Update links and remove extra spaces
Signed-off-by: Usha Mandya <usha.mandya@docker.com>
2021-01-29 17:09:03 +00:00
Usha Mandya c23d1daf63
Add Python get started docs (#12184)
* Add Python get started docs

Signed-off-by: Usha Mandya <usha.mandya@docker.com>

* Address Anca's review comments

Signed-off-by: Usha Mandya <usha.mandya@docker.com>

* Update pip to pip3

Signed-off-by: Usha Mandya <usha.mandya@docker.com>

* Update pip freeze to pip3 freeze

Signed-off-by: Usha Mandya <usha.mandya@docker.com>
2021-01-28 17:46:36 +00:00
Usha Mandya ba395bed07 Add reference architecture docs
Signed-off-by: Usha Mandya <usha.mandya@docker.com>
2021-01-18 12:07:55 +00:00