-
Notifications
You must be signed in to change notification settings - Fork 48
/
justfile
54 lines (37 loc) · 949 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
44
45
46
47
48
49
50
51
52
53
54
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 := "1200x630"
# IMAGE_SIZE := "1024x512"
# IMAGE_SIZE = "1400x700"
@_default:
just --list
@bootstrap:
pip install -r ./bin/requirements.in
playwright install
@build:
docker-compose build
@down:
docker-compose down
@fmt:
just --fmt --unstable
@lint:
pre-commit run --all-files
@logs *ARGS:
docker-compose logs {{ ARGS }}
@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