add sndev prisma
This commit is contained in:
parent
b374758ed3
commit
1e9d40f152
10
sndev
10
sndev
|
@ -46,8 +46,7 @@ sndev__start() {
|
|||
fi
|
||||
|
||||
if ! [ -f .env.sndev ]; then
|
||||
echo ".env.sndev does not exist."
|
||||
echo "creating from .env.sample"
|
||||
echo ".env.sndev does not exist ... creating from .env.sample"
|
||||
cp .env.sample .env.sndev
|
||||
fi
|
||||
|
||||
|
@ -86,6 +85,10 @@ sndev__psql() {
|
|||
docker__exec -t db psql -U sn stackernews
|
||||
}
|
||||
|
||||
sndev__prisma() {
|
||||
docker__exec -t -u apprunner app npx "$@"
|
||||
}
|
||||
|
||||
sndev__compose() {
|
||||
shift
|
||||
docker__compose "$@"
|
||||
|
@ -138,8 +141,9 @@ COMMANDS
|
|||
|
||||
db:
|
||||
psql open psql on db
|
||||
prisma run prisma commands
|
||||
|
||||
raw:
|
||||
other:
|
||||
compose docker compose passthrough
|
||||
sn_lncli lncli passthrough on sn_lnd
|
||||
stacker_lncli lncli passthrough on stacker_lnd
|
||||
|
|
Loading…
Reference in New Issue