Skip to content

Commit

Permalink
corrected syntax error in run_me_first.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
masukomi committed Aug 7, 2024
1 parent 6589217 commit c1b4a14
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/run_me_first.sh
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ if [ $docker_intended == "y" ] || [ $docker_intended == "Y" ]; then
fi
# MONGODB With Docker
mongodb_url=$(get_env_key 'MONGODB_URL')
if [ "$mongodb_url" == 'mongodb://bb_mongodb:27017']; then
if [ "$mongodb_url" == 'mongodb://bb_mongodb:27017' ]; then
echo "$GREEN MONGODB_URL is mongodb://bb_mongodb:27017 $NOCOLOR"
elif [ -z "$mongodb_url" ]; then
echo "MONGODB_URL=mongodb://bb_mongodb:27017" >> .env
Expand All @@ -116,7 +116,7 @@ else

# MONGODB Without Docker
mongodb_url=$(get_env_key 'MONGODB_URL')
if [ "$mongodb_url" == 'mongodb://localhost:27017']; then
if [ "$mongodb_url" == 'mongodb://localhost:27017' ]; then
echo "$GREEN MONGODB_URL is mongodb://localhost:27017 $NOCOLOR"
elif [ -z "$mongodb_url" ]; then
echo "MONGODB_URL=localhost:27017" >> .env
Expand Down

0 comments on commit c1b4a14

Please sign in to comment.