diff --git a/.gitpod.Dockerfile b/.gitpod.Dockerfile index 6408d52..aa459e6 100644 --- a/.gitpod.Dockerfile +++ b/.gitpod.Dockerfile @@ -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 diff --git a/.gitpod.yml b/.gitpod.yml index 2ea8d8d..b307e19 100644 --- a/.gitpod.yml +++ b/.gitpod.yml @@ -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) diff --git a/learn.json b/learn.json index e2e7c62..c793037 100644 --- a/learn.json +++ b/learn.json @@ -1,25 +1,4 @@ { - "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", @@ -27,5 +6,10 @@ "duration": 10, "difficulty": "easy", "video-solutions": false, - "graded": true -} \ No newline at end of file + "graded": true, + "config": { + "editor": { + "version": "1.0.68" + } + } +}