move restart recipe to top of justfile
This commit is contained in:
parent
4f4fe1eff2
commit
d3aa992d65
1 changed files with 3 additions and 2 deletions
5
justfile
5
justfile
|
|
@ -1,11 +1,12 @@
|
||||||
|
restart:
|
||||||
|
sudo systemctl restart web-tools.service
|
||||||
|
|
||||||
run:
|
run:
|
||||||
uv run gunicorn --bind 127.0.0.1:4419 "server:application"
|
uv run gunicorn --bind 127.0.0.1:4419 "server:application"
|
||||||
|
|
||||||
dev:
|
dev:
|
||||||
FLASK_DEBUG=1 uv run python -c "import server; from werkzeug.serving import run_simple; run_simple('127.0.0.1', 4419, server.application, use_reloader=True, use_debugger=True)"
|
FLASK_DEBUG=1 uv run python -c "import server; from werkzeug.serving import run_simple; run_simple('127.0.0.1', 4419, server.application, use_reloader=True, use_debugger=True)"
|
||||||
|
|
||||||
restart:
|
|
||||||
sudo systemctl restart web-tools.service
|
|
||||||
|
|
||||||
start:
|
start:
|
||||||
sudo systemctl start web-tools.service
|
sudo systemctl start web-tools.service
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue