Skip to content

Commit

Permalink
Merge pull request #8 from Lovatt/master
Browse files Browse the repository at this point in the history
fix string interpolation
  • Loading branch information
mattstauffer authored Jul 21, 2016
2 parents 1c26533 + 9bde275 commit ed29229
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lambo
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,12 @@ git commit -m "Initial commit."

# Update .env to point to this database with `root` username and blank pw,
# like Mac MySQL defaults
sed -i '' '/DB_DATABASE/s/homestead/$PROJECTNAME/' .env
sed -i '' "/DB_DATABASE/s/homestead/$PROJECTNAME/" .env
sed -i '' '/DB_USERNAME/s/homestead/root/' .env
sed -i '' '/DB_PASSWORD/s/secret//' .env

mysql -u root -e "CREATE TABLE IF NOT EXISTS $PROJECTNAME"

open "http://$PROJECTNAME.dev"
echo "
Expand Down

0 comments on commit ed29229

Please sign in to comment.