forked from djangocon/2023.djangocon.us
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathjustfile
43 lines (29 loc) · 757 Bytes
/
justfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
set dotenv-load := false
alias social := screenshots
# Replace DOMAIN with your Netlify link if our templates are not deployed yet.
DOMAIN := "https://2023.djangocon.us"
IMAGE_SIZE := "1024x512"
# IMAGE_SIZE = "1400x700"
@_default:
just --list
@build:
docker-compose build
@down:
docker-compose down
@fmt:
just --fmt --unstable
@screenshots:
python bin/process.py generate-shots > ./shots.yml
shot-scraper multi --no-clobber ./shots.yml
@test:
bundle exec rake test
@start *ARGS:
just up --detach {{ ARGS }}
@stop *ARGS:
just down {{ ARGS }}
@up *ARGS:
docker-compose up {{ ARGS }}
@update:
rm -f ./bin/requirements.txt
pip install -r ./bin/requirements.in
pip-compile ./bin/requirements.in