#!/bin/sh set -eu cd "$(dirname "$0")/.." if [ ! -f .env ]; then umask 077 python3 -c 'import secrets; print("POSTGRES_PASSWORD="+secrets.token_hex(24)); print("APP_PORT=8080")' > .env fi