Skip to content

Commit

Permalink
Merge pull request #2 from Lorenagubaira/master
Browse files Browse the repository at this point in the history
<onlyfor> was added to both readmes
  • Loading branch information
alesanchezr authored Jan 9, 2025
2 parents 768bde4 + 0fc3103 commit b12bdb2
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 19 deletions.
27 changes: 17 additions & 10 deletions README.es.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,24 +28,31 @@ def new_game():
6. El juego se puede reiniciar (empezar de nuevo) en cualquier momento.
7. El usuario debe detener el juego y salir en cualquier momento (liberando el terminal).

<onlyfor saas="false" withBanner="false">

## 🌱 Cómo empezar este proyecto

No clones este repositorio.
Hay dos formas de hacerlo:

1. El primer paso para empezar a codificar es clonar el [boilerplate de python](https://github.com/4GeeksAcademy/flask-rest-hello) en tu computadora local o en gitpod.
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

a) Si usas Gitpod puedes clonar el boilerplate haciendo [clic aquí](https://github.com/4GeeksAcademy/flask-rest-hello).
b) Si trabajas localmente, escribe el siguiente comando desde tu línea de comandos: `git clone https://github.com/4GeeksAcademy/flask-rest-hello`.
b) Clonar el siguiente repositorio localmente en tu computador:

💡 Importante: Recuerda crear un nuevo repositorio, actualizar el remoto (`git remote set-url origin <your new url>`), y subir el código a tu nuevo repositorio usando `add`, `commit` y `push`.
```sh
$ git clone https://github.com/4GeeksAcademy/python-hello
```

2. Ejecuta la aplicación escribiendo en el terminal:
bash
### Pasos

```bash
$ python3 app.py
```
- Si trabajas localmente, debe tener python [instalado](https://4geeks.com/es/how-to/como-instalar-python).

- 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.

- Puedes probar tu código escribiendo `$ python3 test.py`.

💡 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`.

</onlyfor>



Expand Down
27 changes: 18 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,19 +28,28 @@ def new_game():
6. The game can be reset (start again) any time.
7. The user must stop the game and exit anytime (releasing the terminal).

<onlyfor saas="false" withBanner="false">

## 🌱 How to start this project

Do not clone this repository.
There are 2 ways to start:

1. The first step to start coding is cloning the [python boilerplate](https://github.com/4GeeksAcademy/flask-rest-hello) on your local computer or gitpod.
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

a) If using Gitpod you can clone the boilerplate by [clicking here](https://github.com/4GeeksAcademy/flask-rest-hello).
b) If working locally type the following command from your command line: `git clone https://github.com/4GeeksAcademy/flask-rest-hello`.

💡 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`.

2. Run the app by typing on the terminal:
b) You can clone the following repository on your local computer:

```bash
$ python3 app.py
$ git clone https://github.com/4GeeksAcademy/python-hello
```

### Steps

- If working locally, you should have python [installed](https://4geeks.com/how-to/how-to-install-python).

- 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.

- You can test your code by typing: `$ python3 test.py`.

💡 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`.

</onlyfor>
1 change: 1 addition & 0 deletions learn.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"status": "published",
"live-url": "",
"duration" : 8,
"template_url": "https://github.com/4GeeksAcademy/python-hello",
"difficulty": "beginner",
"solution": "https://github.com/breatheco-de/exercise-tictactoe-cli-python/tree/solution",
"technologies": ["python", "terminal", "command line", "csv", "static file storage"],
Expand Down

0 comments on commit b12bdb2

Please sign in to comment.