Skip to content

Commit

Permalink
Merge pull request #95 from josemoracard/jose1-README
Browse files Browse the repository at this point in the history
fixed commands, text README
alesanchezr authored Dec 30, 2023
2 parents 0f11441 + e335f76 commit 4503cfe
Showing 2 changed files with 15 additions and 21 deletions.
19 changes: 8 additions & 11 deletions README.es.md
Original file line number Diff line number Diff line change
@@ -29,28 +29,25 @@ Puedes empezar estos ejercicios en pocos segundos haciendo clic en: [Abrir en Co
## Instalación local:

Clona el repositorio en tu ambiente local y sigue los siguientes pasos:

1. Instala LearnPack, el package manager para tutoriales y el plugin compilador de HTML para LearnPack, asegúrate de tener instalado node.js 14+:
1. Asegúrate de instalar [LearnPack](https://learnpack.co), node.js version 14+ y Python version 3+. Este es el comando para instalar LearnPack:

```bash
$ npm i learnpack -g
$ learnpack plugins:install learnpack-python
$ npm i @learnpack/[email protected] -g && learnpack plugins:install @learnpack/[email protected]
```

2. Descarga estos ejercicios en particular usando LearnPack y `cd` dentro de la carpeta:
2. Clona o descarga este repositorio en tu ambiente local.

```bash
$ learnpack download python-beginner-programming-exercises
$ git clone https://github.com/4GeeksAcademy/python-beginner-programming-exercises.git
$ cd python-beginner-programming-exercises
```

Nota: Una vez que termines de descargarlo, encontrarás una carpeta llamada "exercises" que contiene los ejercicios.
> Nota: Una vez que termine de descargar, encontrarás la carpeta "exercises" que contiene todos los ejercicios.
3. Inicializa el tutorial ejecutando el siguiente comando al mismo nivel en el que se encuentra tu archivo learn.json:

```bash
$ pip3 install pytest==4.4.2 pytest-testdox mock
$ pip3 install pytest==6.2.5 pytest-testdox mock
$ learnpack start
```

@@ -59,7 +56,7 @@ $ learnpack start

## ¿Cómo están organizados los ejercicios?

Cada ejercicio es una pequeña aplicación de React que contiene los siguientes archivos:
Cada ejercicio es una pequeña aplicación de Python que contiene los siguientes archivos:

1. **app.py:** representa el archivo de entrada de Python que será ejecutado por el computador.
2. **README.es.md:** Contiene las instrucciones del ejercicio.
@@ -71,7 +68,7 @@ Cada ejercicio es una pequeña aplicación de React que contiene los siguientes

Gracias a estas personas maravillosas ([emoji key](https://github.com/kentcdodds/all-contributors#emoji-key)):

1. [Alejandro Sanchez (alesanchezr)](https://github.com/alesanchezr), contribución: (programador) 💻 (idea) 🤔, (build-tests) ⚠️, (pull-request-review) 🤓, (build-tutorial) ✅, (documentación) 📖
1. [Alejandro Sanchez (alesanchezr)](https://github.com/alesanchezr), contribución: (programador) 💻 (idea) 🤔, (build-tests) ⚠️, (pull-request-review) 👀, (build-tutorial) ✅, (documentación) 📖

2. [Paolo (plucodev)](https://github.com/plucodev), contribución: (bug reports) 🐛, (programador) 💻, (traducción) 🌎

17 changes: 7 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -36,36 +36,33 @@ You can open these exercises in just a few seconds by clicking: [Open in Codespa
## Local Installation

Clone the repository in your local environment and follow the steps below:

1. Install LearnPack, the package manager for learning tutorials, and the HTML compiler plugin for LearnPack. Make sure you also have node.js 14+:
1. Make sure you have [LearnPack](https://learnpack.co) installed, node.js version 14+, and Python version 3+. This is the command to install LearnPack:

```bash
$ npm i learnpack -g
$ learnpack plugins:install learnpack-python
$ npm i @learnpack/[email protected] -g && learnpack plugins:install @learnpack/[email protected]
```

2. Download these particular exercises using LearnPack and `cd` into the folder:
2. Clone or download this repository in your local environment.

```bash
$ learnpack download python-beginner-programming-exercises
$ git clone https://github.com/4GeeksAcademy/python-beginner-programming-exercises.git
$ cd python-beginner-programming-exercises
```

Note: Once you finish downloading, you will find an "exercises" folder that contains all the exercises within.
> Note: Once you finish downloading, you will find an "exercises" folder that contains all the exercises within.
3. Start the tutorial/exercises by running the following command at the same level where your learn.json file is:

```bash
$ pip3 install pytest==4.4.2 pytest-testdox mock
$ pip3 install pytest==6.2.5 pytest-testdox mock
$ learnpack start
```

<!-- endhide -->

## How are the exercises organized?

Each exercise is a small React application containing the following files:
Each exercise is a small Python application containing the following files:

1. **app.py:** represents the entry Python file that will be executed by the computer.
2. **README.md:** contains exercise instructions.

0 comments on commit 4503cfe

Please sign in to comment.