Skip to content

Commit

Permalink
Merge pull request #27 from Theodo-UK/fix/deploy-script-var-name-change
Browse files Browse the repository at this point in the history
fix: init file broken with wrong env variable naming
  • Loading branch information
CallumHemsley committed Aug 18, 2023
2 parents 3513776 + 9a311c6 commit 4d6fec8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
read -p "Enter connection string from the database (including password): " connection_string

# Move into the front directory
cd /front
cd front

# Create the .env file
echo "CONNECTION_STRING=$connection_string" > .env
echo "DATABASE_URL=$connection_string" > .env

npx prisma db push

Expand Down

0 comments on commit 4d6fec8

Please sign in to comment.