Skip to content

Commit 1648a50

Browse files
authored
Merge pull request #2 from cvazquezlos/main
2 parents 166b3a8 + 81389a0 commit 1648a50

File tree

3 files changed

+26
-2
lines changed

3 files changed

+26
-2
lines changed

.devcontainer/devcontainer.json

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
2+
// README at: https://github.com/devcontainers/templates/tree/main/src/python
3+
{
4+
"name": "Python 3",
5+
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
6+
"image": "mcr.microsoft.com/devcontainers/python:0-3.11",
7+
"onCreateCommand": "pip3 install --user -r requirements.txt",
8+
"customizations": {
9+
"vscode": {
10+
"extensions": [
11+
"ms-toolsai.jupyter",
12+
"ms-python.python"
13+
]
14+
}
15+
}
16+
17+
// Use 'forwardPorts' to make a list of ports inside the container available locally.
18+
// "forwardPorts": [],
19+
20+
// Use 'postCreateCommand' to run commands after the container is created.
21+
// "postCreateCommand": "pip3 install --user -r requirements.txt",
22+
23+
}

.gitpod.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ tasks:
1010
(cp -n .env.example .env || true) &&
1111
psql -U gitpod -c 'CREATE DATABASE example;'
1212
gp open README.md;
13-
npm install heroku -g;
1413
1514
ports:
1615
- port: 9000-9099
@@ -20,3 +19,4 @@ vscode:
2019
extensions:
2120
- ms-toolsai.jupyter
2221
- ms-python.python
22+
- vscode.python

requirements.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# Base ----------------------------------------
2+
ipywidgets==7.7.1
23
sqlalchemy==1.4.37
34
pymysql==1.0.2
45
pandas==1.4.2
@@ -13,4 +14,4 @@ ipyleaflet>=0.14.0
1314
sympy>=1.10.1
1415

1516
# Machine learning ----------------------------
16-
sklearn
17+
scikit-learn

0 commit comments

Comments
 (0)