Skip to content

Commit d31c8a5

Browse files
Add justfile
1 parent 58c5113 commit d31c8a5

File tree

2 files changed

+36
-1
lines changed

2 files changed

+36
-1
lines changed

jupyter/README.md

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,23 @@ Udacity course on data science.
5656
# remove container and network
5757
docker-compose down
5858
```
59+
* `justfile` syntax (recommended)
60+
```bash
61+
# help
62+
just
63+
64+
# build image locally
65+
just build
66+
67+
# start container
68+
just start
69+
70+
# stop container
71+
just stop
72+
73+
# remove container and network
74+
just down
75+
```
5976

6077
### Both
6178
* Open a browser and navigate to `http://127.0.0.1:8888`
@@ -66,7 +83,6 @@ Udacity course on data science.
6683

6784
## TODO
6885
* Get Jupyter working in [VSCode](https://github.com/microsoft/vscode-jupyter)
69-
* ~~`Makefile`~~ [justfile](https://github.com/casey/just)
7086

7187
## Further Reading
7288
[Original Repo](https://github.com/pythoninthegrass/wine_quality)

jupyter/justfile

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# See https://just.systems/man/en
2+
3+
dotenv-load := "true"
4+
host := `uname -a`
5+
6+
default:
7+
just --list
8+
9+
build:
10+
docker-compose build --pull --no-cache
11+
12+
start:
13+
docker-compose up -d
14+
15+
stop:
16+
docker-compose stop
17+
18+
down:
19+
docker-compose down

0 commit comments

Comments
 (0)