mirror of
https://github.com/kou029w/_.git
synced 2025-01-30 22:08:02 +00:00
create makefile
This commit is contained in:
parent
87aeeafd13
commit
f1780f541b
1 changed files with 7 additions and 0 deletions
7
hasura-rest/Makefile
Normal file
7
hasura-rest/Makefile
Normal 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
|
Loading…
Add table
Reference in a new issue