Skip to content

Migrated to VSCode #19

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Aug 3, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .gitpod.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM gitpod/workspace-full:latest
USER gitpod
RUN pip3 install pytest==4.4.2 pytest-testdox mock
RUN npm i -g learnpack && learnpack plugins:install learnpack-python
RUN npm i -g learnpack@0.1.12 && learnpack plugins:install learnpack-python@0.0.34
9 changes: 6 additions & 3 deletions .gitpod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,12 @@ image:

ports:
- port: 3000
onOpen: open-preview
tasks:
- command: learnpack start
onOpen: ignore

vscode:
extensions:
- learnpack.learnpack-vscode

github:
prebuilds:
# enable for the master/default branch (defaults to true)
Expand Down
30 changes: 7 additions & 23 deletions learn.json
Original file line number Diff line number Diff line change
@@ -1,31 +1,15 @@
{
"port": 3000,
"address": "https://a59821c5-aefc-458f-84bb-510905bccbff.ws-us03.gitpod.io",
"editor": "gitpod",
"configPath": {
"config": "bc.json",
"base": ".learn",
"exercises": "./exercises",
"output": ".learn/dist"
},
"outputPath": "./.learn/dist",
"publicPath": "/preview",
"grading": "isolated",
"disable_grading": false,
"language": "python3",
"compiler": "python3",
"tester": "pytest",
"actions": [
"run",
"test",
"reset"
],
"title": "Learn Python Functions Interactively",
"repository": "https://github.com/4GeeksAcademy/python-functions-programming-exercises",
"preview": "https://github.com/4GeeksAcademy/python-functions-programming-exercises/blob/master/preview.gif?raw=true",
"description": "Learn and master functional programing by doing auto-graded interactive exercises.",
"duration": 10,
"difficulty": "easy",
"video-solutions": false,
"graded": true
}
"graded": true,
"config": {
"editor": {
"version": "1.0.68"
}
}
}