Compare commits
No commits in common. "246a61ece5caf0598271c254ffb1eca2a577b733" and "d280575aca4cf8caba5995bbaa467ca98c88b45e" have entirely different histories.
246a61ece5
...
d280575aca
|
|
@ -25,12 +25,13 @@ jobs:
|
||||||
git reset --hard origin/develop
|
git reset --hard origin/develop
|
||||||
fi
|
fi
|
||||||
if [ ! -f .env ]; then
|
if [ ! -f .env ]; then
|
||||||
printf '%s\n' \
|
cat > .env <<'EOF'
|
||||||
'DB_NAME=buyingagent_dev' \
|
DB_NAME=buyingagent_dev
|
||||||
'DB_USER=buyingagent_dev' \
|
DB_USER=buyingagent_dev
|
||||||
'DB_PASSWORD=dev_password_change_me' \
|
DB_PASSWORD=dev_password_change_me
|
||||||
'ENVIRONMENT=development' \
|
ENVIRONMENT=development
|
||||||
'BUYING_AGENT_API_PORT=8095' > .env
|
BUYING_AGENT_API_PORT=8095
|
||||||
|
EOF
|
||||||
echo "created development .env"
|
echo "created development .env"
|
||||||
fi
|
fi
|
||||||
if grep -q '^BUYING_AGENT_API_PORT=' .env; then
|
if grep -q '^BUYING_AGENT_API_PORT=' .env; then
|
||||||
|
|
|
||||||
|
|
@ -25,13 +25,14 @@ jobs:
|
||||||
git reset --hard origin/main
|
git reset --hard origin/main
|
||||||
fi
|
fi
|
||||||
if [ ! -f .env ]; then
|
if [ ! -f .env ]; then
|
||||||
printf '%s\n' \
|
cat > .env <<'EOF'
|
||||||
'DB_NAME=buyingagent' \
|
DB_NAME=buyingagent
|
||||||
'DB_USER=buyingagent' \
|
DB_USER=buyingagent
|
||||||
'DB_PASSWORD=change_me' \
|
DB_PASSWORD=change_me
|
||||||
'ENVIRONMENT=production' \
|
ENVIRONMENT=production
|
||||||
'BUYING_AGENT_API_BIND=0.0.0.0' \
|
BUYING_AGENT_API_BIND=0.0.0.0
|
||||||
'BUYING_AGENT_API_PORT=8006' > .env
|
BUYING_AGENT_API_PORT=8006
|
||||||
|
EOF
|
||||||
echo "created production .env — set a unique DB_PASSWORD after first start"
|
echo "created production .env — set a unique DB_PASSWORD after first start"
|
||||||
fi
|
fi
|
||||||
if grep -q '^BUYING_AGENT_API_BIND=' .env; then
|
if grep -q '^BUYING_AGENT_API_BIND=' .env; then
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user