Skip to content

Commit

Permalink
Merge pull request #43 from vlauciani/master
Browse files Browse the repository at this point in the history
Create .env file from .env.example
  • Loading branch information
mattstauffer authored Oct 3, 2017
2 parents 49a31ea + 958d181 commit 54e0595
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lambo
Original file line number Diff line number Diff line change
Expand Up @@ -308,6 +308,9 @@ git commit -m "$MESSAGE"

# Update .env to point to this database with `root` username and blank pw,
# like Mac MySQL defaults, and appropriate domain
if [ ! -f .env ]; then
cp .env.example .env
fi
PROJECTURL="http://$PROJECTNAME.$TLD"
sedCommands=(
"/DB_DATABASE/s/homestead/$PROJECTNAME/"
Expand Down

0 comments on commit 54e0595

Please sign in to comment.