Skip to content

Commit 7f40837

Browse files
authored
Add a make target to generate .env file for development (#6172)
1 parent a944658 commit 7f40837

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Makefile

+3
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ clean:
2222
down:
2323
docker-compose down
2424

25+
env:
26+
printf "REDASH_COOKIE_SECRET=`pwgen -1s 32`\nREDASH_SECRET_KEY=`pwgen -1s 32`\n" >> .env
27+
2528
tests:
2629
docker-compose run server tests
2730

0 commit comments

Comments
 (0)