Skip to content

Commit

Permalink
update Justfile
Browse files Browse the repository at this point in the history
  • Loading branch information
piotr-iohk committed Sep 26, 2024
1 parent 38a068a commit b08354f
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions Justfile
Original file line number Diff line number Diff line change
@@ -1,2 +1,20 @@
pg:
docker run -d --name mina-archive-db -p 5432:5432 -v $(pwd)/sql_scripts:/docker-entrypoint-initdb.d -e POSTGRES_PASSWORD=whatever -e POSTGRES_USER=mina postgres

pg-up:
docker start mina-archive-db

pg-down:
docker kill mina-archive-db

pg-rm:
docker rm mina-archive-db

get-mainnet-archive-db:
./scripts/get_archive_db.sh mainnet

wait-for-pg:
./scripts/wait_for_pg.sh

test:
SNAP_CHECK=1 cargo test

0 comments on commit b08354f

Please sign in to comment.