Skip to content

Commit a3e05a0

Browse files
committed
feat: add .env template files
1 parent abd8e26 commit a3e05a0

File tree

8 files changed

+29
-4
lines changed

8 files changed

+29
-4
lines changed

.gitignore

Lines changed: 26 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,28 @@
11
static/
22

3-
*/*
4-
!.github/**/*
5-
!.scripts/**/*
6-
!*/compose.yml
3+
.idea/
4+
.vscode/
5+
node_modules/
6+
dist/
7+
8+
.DS_Store
9+
desktop.ini
10+
Thumbs.db
11+
12+
*.log
13+
*.lock
14+
*.tmp
15+
*.bak
16+
*.swp
17+
*.pid
18+
*.seed
19+
*.pid.lock
20+
*.sqlite3
21+
*.sqlite
22+
*.db
23+
*.tgz
24+
*.zip
25+
*.tar.gz
26+
27+
.env
28+
keypair_*

.scripts/update.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ for dir in */; do
2020
# Navigate into the directory
2121
cd "$dir"
2222

23+
# Generate .env file from .env.tmpl using envsubst
24+
envsubst <.env.tmpl >.env
25+
2326
# Deploy using docker-compose if the file exists
2427
if [ -f "compose.yml" ]; then
2528
docker-compose up -d

010-sara/.env.tmpl

Whitespace-only changes.

020-chew/.env.tmpl

Whitespace-only changes.

020-freya/.env.tmpl

Whitespace-only changes.

020-ironnect/.env.tmpl

Whitespace-only changes.

020-nymph/.env.tmpl

Whitespace-only changes.

020-openchat-join/.env.tmpl

Whitespace-only changes.

0 commit comments

Comments
 (0)