Skip to content

Commit c8c2243

Browse files
Adapt repository to learnpack
1 parent 5ddba1d commit c8c2243

File tree

5 files changed

+25
-10
lines changed

5 files changed

+25
-10
lines changed

.gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
!.gitignore
55
!.gitpod.yml
66
!.gitpod.Dockerfile
7-
!bc.json
7+
!learn.json
88
!README.md
99

1010
!/assets

.gitpod.Dockerfile

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
FROM gitpod/workspace-full
22
USER gitpod
3-
RUN pip3 install pytest==4.4.2 pytest-testdox mock && npm i breathecode-cli@1.2.70 -g
3+
RUN pip3 install pytest==4.4.2 pytest-testdox mock
4+
RUN npm i learnpack@0.1.8 -g && learnpack plugins:install learnpack-python@0.0.34

.gitpod.yml

+13-4
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,17 @@ image:
44
# List the ports you want to expose and what to do when they are served. See https://www.gitpod.io/docs/config-ports/
55
ports:
66
- port: 3000
7-
onOpen: open-preview
7+
onOpen: ignore
88

9-
# List the start up tasks. You can start them in parallel in multiple terminals. See https://www.gitpod.io/docs/config-start-tasks/
10-
tasks:
11-
- command: bc run
9+
vscode:
10+
extensions:
11+
- learnpack.learnpack-vscode
12+
13+
github:
14+
prebuilds:
15+
# enable for the master/default branch (defaults to true)
16+
master: true
17+
# enable for pull requests coming from this repo (defaults to true)
18+
pullRequests: false
19+
# add a "Review in Gitpod" button as a comment to pull requests (defaults to true)
20+
addComment: false

bc.json

-4
This file was deleted.

learn.json

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"language": "python3",
3+
"repository": "https://github.com/4GeeksAcademy/python-http-requests-api-tutorial-exercises",
4+
"config": {
5+
"editor": {
6+
"version": "1.0.68"
7+
}
8+
}
9+
}

0 commit comments

Comments
 (0)