You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
10
8
11
9
## 🌱 Cómo comenzar este proyecto
12
10
13
-
Este proyecto viene con los archivos necesarios para comenzar a trabajar de inmediato.
11
+
Hay dos formas de empezar:
14
12
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
16
14
17
-
Este es el repositorio que necesitas abrir:
15
+
b) Clonar este repositorio localmente en tu computador:
**👉 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.
24
26
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`.
26
30
27
31
</onlyfor>
32
+
28
33
## Acerca del proyecto que vamos a construir
29
34
30
35
En este tutorial, crearemos una API REST que expone 3 endpoints a Internet:
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
9
8
10
9
## 🌱 How to start this project
11
10
12
-
This project comes with the necessary files to start working immediately.
11
+
There are 2 ways to start:
13
12
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
15
14
16
-
This is the repository you need to open:
15
+
b) You can clone this repository on your local computer:
**👉 Please follow these steps on**[how to start a coding project](https://4geeks.com/lesson/how-to-start-a-project).
21
+
### Steps
23
22
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`.
0 commit comments