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:
|
default:
|
||||||
@echo "# Miniweb Project"
|
@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':
|
run args='miniweb':
|
||||||
@cargo run --bin {{args}}
|
@cargo run --bin {{args}}
|
||||||
|
|
||||||
status:
|
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:
|
pg-up:
|
||||||
cd docker && docker-compose up -d
|
cd docker && docker-compose up -d
|
||||||
|
|
||||||
# Stop PostgreSQL
|
# Stop PostgreSQL Docker
|
||||||
pg-down:
|
pg-down:
|
||||||
cd docker && docker-compose down
|
cd docker && docker-compose down
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user