1
0
Fork 0
mirror of https://github.com/kou029w/_.git synced 2025-01-30 13:58:08 +00:00

create makefile

This commit is contained in:
Nebel 2023-12-19 14:37:53 +09:00
parent 87aeeafd13
commit f1780f541b
Signed by: nebel
GPG key ID: 79807D08C6EF6460

7
hasura-rest/Makefile Normal file
View file

@ -0,0 +1,7 @@
.env:
touch .env
chmod 600 .env
echo POSTGRES_PASSWORD=$(shell openssl rand -hex 32) >> .env
echo HASURA_GRAPHQL_ADMIN_SECRET=$(shell openssl rand -hex 32) >> .env
echo HASURA_GRAPHQL_JWT_SECRET='{"type":"HS256","key":"$(shell openssl rand -hex 32)"}' >> .env
echo JWT_SECRET=$(shell openssl rand -hex 32) >> .env