refactor(Justfile): status
This commit is contained in:
parent
7a0fcf11b0
commit
80afc67f0a
13
Justfile
13
Justfile
@ -2,20 +2,23 @@ set dotenv-load := true
|
||||
|
||||
default:
|
||||
@echo "# Miniweb Project"
|
||||
@just --list
|
||||
@just --list -u
|
||||
|
||||
# Run Bins
|
||||
# Run the project (just run), or commands with --bin (just run <command>)
|
||||
run args='miniweb':
|
||||
@cargo run --bin {{args}}
|
||||
|
||||
status:
|
||||
sea-orm-cli status
|
||||
@echo "Docker Images:"
|
||||
cd docker && docker-compose ls
|
||||
@echo "Database Status:"
|
||||
sea-orm-cli migrate status
|
||||
|
||||
# Start PostgreSQL
|
||||
# Start PostgreSQL Docker
|
||||
pg-up:
|
||||
cd docker && docker-compose up -d
|
||||
|
||||
# Stop PostgreSQL
|
||||
# Stop PostgreSQL Docker
|
||||
pg-down:
|
||||
cd docker && docker-compose down
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user