Skip to content

Commit ee17524

Browse files
committed
build(api): run the app locally
1 parent 5a8a891 commit ee17524

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

api/justfile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
set dotenv-load := true
44

5+
alias r := run
56
alias f := fmt
67
alias l := lint
78
alias t := test
@@ -24,6 +25,10 @@ comply: fmt lint test-unit
2425
# Check if the repository comply with the rules and ready to be pushed.
2526
check: fmt-check lint test
2627

28+
[doc('Run the app')]
29+
run:
30+
FLASK_APP=rkapi.autoapp rye run flask run --port 8001
31+
2732
# Build the docker image.
2833
image-build:
2934
rye build --wheel --clean

0 commit comments

Comments
 (0)