-
Notifications
You must be signed in to change notification settings - Fork 0
/
.justfile
49 lines (34 loc) · 918 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
start: stop
chmod +x ./scripts/start
./scripts/start
stop:
chmod +x ./scripts/stop
./scripts/stop
restart: stop start
install:
pip install uv
uv pip install -r requirements.txt
manage-start:
python manage.py runserver_plus 0.0.0.0:8000
shell:
python manage.py shell_plus
clean:
find . -path "./apps/*/migrations/*.py" -not -name "__init__.py" -delete
python manage.py clean_pyc
python manage.py clear_cache
migrate:
python manage.py makemigrations
python manage.py migrate
translate:
python manage.py makemessages --all --ignore=env
python manage.py compilemessages
test path='':
pytest -n auto {{path}}
cicd-test:
pytest -n auto --disable-warnings
check_database:
python manage.py check_database --no-django
createsuperuser:
python manage.py createsuperuser
collectstatic:
python manage.py collectstatic --noinput