Commit Graph

17 Commits

Author SHA1 Message Date
Kyle Martin 57b5a647ad
Very minor style update to included sample Python
Inconsequential and trivial change to ensure code in tutorial is consistently styled.
2021-12-27 19:20:04 -07:00
Wajdi Al-Hawari a9a8311643 Improves how requirements.txt is created
- To reduce the error prone process of grabbing all Python packages in the global Python scope, the specific package is extracted and set in to the requirements.txt file
2021-09-11 16:30:23 -04:00
Sebastiaan van Stijn 74460241f8
language/python: use "console" for shell examples
This allows for easier copying of the commands, without selecting the
prompt.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-08-06 17:20:00 +02:00
Usha Mandya fe46aa5c1f
Merge pull request #13142 from Sammeeey/patch-3
Adjusted sentence to make more clear what to do
2021-07-13 11:06:43 +01:00
Sammeeey 5ece5aa899
Adjusted sentence to make more clear what to do
ihih
2021-07-07 13:41:48 +02:00
Sammeeey e52dfc1353
Add "-dev"-suffix to new image
I've added a "-dev"-suffix in the lines where we are working with the new python-docker image.
In this way we do not overwrite the previous one
2021-07-07 12:18:12 +02:00
syunwei 1c1a9a094e
Added docker compose file and docker volume references into python de… (#12739)
* Added docker compose file and docker volume references into python develop.md

* Style update

Co-authored-by: Cathy Huang <my-email@example.com>
Co-authored-by: Usha Mandya <47779042+usha-mandya@users.noreply.github.com>
2021-05-06 07:00:16 +01:00
Sebastiaan van Stijn a463d3290f
use primary-btn instead of outline-btn
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-04-13 16:34:01 +02: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
Usha Mandya 6eddfb8e66
Merge pull request #12371 from mradamt/master
Update code snippets, typo, formatting
2021-03-24 14:28:33 +00: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
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