Skip to content

Commit ce8f219

Browse files
python-hello template
1 parent dc08512 commit ce8f219

File tree

3 files changed

+28
-18
lines changed

3 files changed

+28
-18
lines changed

README.es.md

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
<!--hide-->
22
# API de Lista de Tareas en Python Flask
3-
4-
<a href="https://www.breatheco.de"><img height="280" align="right" src="https://raw.githubusercontent.com/breatheco-de/python-flask-api-tutorial/3ffb90ea974146f57a3bdfd59665b4c4d5d05197/.breathecode/assets/badge.svg"></a>
53
<!--endhide-->
64

75
Este es un tutorial interactivo que te enseñará cómo crear una API usando el framework Python Flask y Pipenv
@@ -10,21 +8,28 @@ Este es un tutorial interactivo que te enseñará cómo crear una API usando el
108

119
## 🌱 Cómo comenzar este proyecto
1210

13-
Este proyecto viene con los archivos necesarios para comenzar a trabajar de inmediato.
11+
Hay dos formas de empezar:
1412

15-
Recomendamos abrir este mismo repositorio usando un entorno de desarrollo como [Codespaces](https://4geeks.com/es/lesson/tutorial-de-github-codespaces) (recomendado) o [Gitpod](https://4geeks.com/es/lesson/como-utilizar-gitpod). Alternativamente, puedes clonarlo en tu computadora local usando el comando `git clone`.
13+
a) Abrir este enlace con [Codespaces](https://4geeks.com/es/lesson/tutorial-de-github-codespaces) (recomendado) o [Gitpod](https://4geeks.com/es/lesson/como-utilizar-gitpod) en tu navegador: https://github.com/codespaces/new/?repo=4GeeksAcademy/python-hello
1614

17-
Este es el repositorio que necesitas abrir:
15+
b) Clonar este repositorio localmente en tu computador:
1816

19-
```text
20-
https://github.com/breatheco-de/python-flask-api-tutorial
17+
```sh
18+
$ git clone https://github.com/4GeeksAcademy/python-hello
2119
```
2220

23-
**👉 Por favor sigue estos pasos sobre** [cómo comenzar un proyecto de programación](https://4geeks.com/es/lesson/como-comenzar-un-proyecto-de-codificacion).
21+
### Pasos
22+
23+
- Si trabajas localmente, debe tener python [instalado](https://4geeks.com/es/how-to/como-instalar-python).
24+
25+
- Deberías abrir el terminal en la ruta de esta plantilla y ejecutar `$ python3 app.py`, si todo funciona correctamente, debería mostrar `Hello World` en el terminal.
2426

25-
> 💡 Importante: Recuerda guardar y subir tu código en GitHub creando un nuevo repositorio, actualizando el remoto (`git remote set-url origin <your new url>`) y subiendo el código a tu nuevo repositorio usando los comandos `add`, `commit` y `push` desde la terminal de git.
27+
- Puedes probar tu código escribiendo `$ python3 test.py`.
28+
29+
💡 Importante: Recuerda actualizar el `remote` del proyecto con el de tu repositorio usando `git remote set-url origin <your new url>`, y luego guardar tu código en tu nuevo repositorio usando `add`, `commit` y `push`.
2630

2731
</onlyfor>
32+
2833
## Acerca del proyecto que vamos a construir
2934

3035
En este tutorial, crearemos una API REST que expone 3 endpoints a Internet:

README.md

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<!--hide-->
22
# Todo List API in Python Flask
3-
<a href="https://www.breatheco.de"><img height="280" align="right" src="https://raw.githubusercontent.com/breatheco-de/python-flask-api-tutorial/3ffb90ea974146f57a3bdfd59665b4c4d5d05197/.breathecode/assets/badge.svg"></a>
43
<!--endhide-->
54

65
This is an interactive tutorial that will teach you how to create an API using the Flask framework on Python and Pipenv.
@@ -9,19 +8,25 @@ This is an interactive tutorial that will teach you how to create an API using t
98

109
## 🌱 How to start this project
1110

12-
This project comes with the necessary files to start working immediately.
11+
There are 2 ways to start:
1312

14-
We recommend opening this very same repository using a provisioning tool like [Codespaces](https://4geeks.com/lesson/what-is-github-codespaces) (recommended) or [Gitpod](https://4geeks.com/lesson/how-to-use-gitpod). Alternatively, you can clone it on your local computer using the `git clone` command.
13+
a) Open this link in your browser with [Codespaces](https://4geeks.com/lesson/what-is-github-codespaces) (recommended) or [Gitpod](https://4geeks.com/lesson/how-to-use-gitpod): https://github.com/codespaces/new/?repo=4GeeksAcademy/python-hello
1514

16-
This is the repository you need to open:
15+
b) You can clone this repository on your local computer:
1716

18-
```text
19-
https://github.com/breatheco-de/python-flask-api-tutorial
17+
```bash
18+
$ git clone https://github.com/4GeeksAcademy/python-hello
2019
```
2120

22-
**👉 Please follow these steps on** [how to start a coding project](https://4geeks.com/lesson/how-to-start-a-project).
21+
### Steps
2322

24-
> 💡 Important: Remember to save and upload your code to GitHub by creating a new repository, updating the remote (`git remote set-url origin <your new url>`), and uploading the code to your new repository using the `add`, `commit` and `push` commands from the git terminal.
23+
- If working locally, you should have python [installed](https://4geeks.com/how-to/how-to-install-python).
24+
25+
- You should open the terminal on the path of this template and run `$ python3 app.py`, if everything works correctly, it should show `Hello World` on the terminal.
26+
27+
- You can test your code by typing: `$ python3 test.py`.
28+
29+
💡 Important: Remember to create a new repository, update the remote (`git remote set-url origin <your new url>`), and upload the code to your new repository using `add`, `commit` and `push`.
2530

2631
</onlyfor>
2732

learn.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"repository": "https://github.com/breatheco-de/python-flask-api-tutorial",
77
"preview": "https://github.com/breatheco-de/python-flask-api-tutorial/blob/master/.learn/assets/preview.png?raw=true",
88
"duration": 6,
9-
"template_url": "self",
9+
"template_url": "https://github.com/4GeeksAcademy/python-hello",
1010
"grading": "incremental",
1111
"difficulty": "beginner",
1212
"videoSolutions": false,

0 commit comments

Comments
 (0)