Skip to content

Commit

Permalink
fix: init file broken with wrong env variable naming
Browse files Browse the repository at this point in the history
  • Loading branch information
CallumHemsley committed Aug 18, 2023
1 parent 3f0cf05 commit 9a311c6
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 9a311c6

Please sign in to comment.