File tree Expand file tree Collapse file tree 2 files changed +7
-28
lines changed Expand file tree Collapse file tree 2 files changed +7
-28
lines changed Original file line number Diff line number Diff line change 11install :
22 uv sync
33
4- build :
5- ./build.sh
6-
7- lint :
8- ruff check .
9-
10- # migrate:
11- # uv run python manage.py migrate
4+ migrate :
5+ uv run python3 manage.py migrate
126
137start :
14- cd code && uv run manage.py runserver 0.0.0.0:3000
8+ uv run manage.py runserver 0.0.0.0:8000
159
1610test :
17- pytest
18-
19- render-start :
20- uv run gunicorn task_manager.wsgi:application
21-
11+ uv run python3 manage.py test
Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
2- set -e
2+ curl -LsSf https://astral.sh/uv/install.sh | sh
3+ source $HOME /.local/bin/env
34
4- # Устанавливаем uv (если ещё не установлен)
5- if ! command -v uv > /dev/null 2>&1 ; then
6- curl -LsSf https://astral.sh/uv/install.sh | sh
7- fi
8-
9- # Добавляем ~/.local/bin в PATH, если там установлен uv
10- export PATH=$HOME /.local/bin:$PATH
11-
12- # Активируем виртуальное окружение
13- source .venv/bin/activate
14-
15- # Запускаем make install и make migrate
16- make install
5+ make install
You can’t perform that action at this time.
0 commit comments