1
0
Fork 0
mirror of https://github.com/kou029w/_.git synced 2025-01-30 22:08:02 +00:00
_/hasura-rest/Makefile
2023-12-19 14:37:53 +09:00

7 lines
320 B
Makefile

.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