env thing and starting to changes

This commit is contained in:
user
2025-10-21 01:16:39 +03:00
parent b150095361
commit 3232542de1
10 changed files with 41 additions and 144 deletions

15
scripts/populate.env.sh Executable file
View File

@@ -0,0 +1,15 @@
#!/bin/bash
# copy over the environment variables from the base /.env file to all other apps & packages in apps/* and packages/*
for dir in apps/*; do
if [ -d "$dir" ]; then
cp .env $dir/.env
fi
done
for dir in packages/*; do
if [ -d "$dir" ]; then
cp .env $dir/.env
fi
done