-
Notifications
You must be signed in to change notification settings - Fork 374
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
21 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,7 @@ | |
!.gitignore | ||
!.gitpod.yml | ||
!.gitpod.Dockerfile | ||
!learn.json | ||
!bc.json | ||
!README.md | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,4 +2,5 @@ FROM gitpod/workspace-full:latest | |
|
||
USER gitpod | ||
|
||
RUN npm i [email protected] [email protected] -g | ||
RUN npm i [email protected] -g | ||
RUN npm i learnpack -g && learnpack plugins:install [email protected] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,20 +25,31 @@ Dozens of looping exercises to sharpen your looping skills with for, forEach, ma | |
|
||
## Local Installation | ||
|
||
1) Make sure you have the [breathecode-cli](https://github.com/breatheco-de/breathecode-cli) installed and `node.js` version 10+ and python version 3+. This is the command to install the breathecode-cli | ||
1. Install learnpack, the package manager for learning tutorials and the html compiler plugin for learnpack, make sure you also have node.js 12+: | ||
|
||
``` | ||
$ npm i learnpack -g | ||
$ learnpack plugins:install learnpack-python | ||
``` | ||
|
||
2. Download this particular exercise using learnpack and `cd` into the folder: | ||
|
||
``` | ||
$ npm i breathecode-cli -g | ||
$ learnpack download python-beginner-programming-exercises | ||
$ cd python-beginner-programming-exercises | ||
``` | ||
|
||
2) Clone or download this repository. Once you finish downloading, you will find a new folder with a subdirectory "exercises" that contains all the exercises within. | ||
Note: Once you finish downloading, you will find a "exercises" folder that contains all the exercises within. | ||
|
||
3) Start the tutorial/exercises by running the following command from the root of the project: | ||
3. Start the tutorial/exercises by running the following command at the same level were your bc.json file is: | ||
|
||
```sh | ||
$ npm i [email protected] | ||
$ breathecode run | ||
$ npm i [email protected] -g | ||
$ learnpack start | ||
``` | ||
|
||
Note: The exercises have automatic grading but its very rigid and string, my recomendation is to ignore the tests and use them only as a recomendation or you can get frustrated. | ||
|
||
## How are the exercises organized? | ||
|
||
Each exercise is a small react application containing the following files: | ||
|
File renamed without changes.