Skip to content
This repository was archived by the owner on Feb 24, 2021. It is now read-only.

Commit 2ec7fd2

Browse files
authored
Merge pull request #16 from chadyoungdell/master
added comments about usernames
2 parents a0f9391 + 876e993 commit 2ec7fd2

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

README.md

+4
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ This repos contains scripts, batch files, JSON used in REST calls and other misc
99
For convenience there are a couple of scripts that help you get up and running
1010

1111
### linux_setup.sh
12+
This script assumes:
13+
* you are starting with a fresh install of mongodb
14+
* that init_mongo.js has not been run before
15+
1216
This script will:
1317
* create the necessary folder(s) for database placement
1418
* start mongod without the "--auth" option

linux_setup.sh

+5-2
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,12 @@ dirname="/home/tester/edgex"
2626
clear
2727
echo
2828
echo "This script will do the following:"
29-
echo "-- Ask you to supply a user name: a user name is needed to set folder ownership"
29+
echo "-- Ask you to supply a user name (consider \"<user>\" in /home/<user>) "
30+
echo "---- The username is needed to set folder ownership."
31+
echo "---- This username will not be the same username used for mongodb."
32+
echo "---- The mongodb username will be supplied in the init_mongo.js file."
3033
echo "-- Create folders, if necessary, for the database."
31-
echo "-- Start database creation (without --auth)."
34+
echo "-- Start database creation (without --auth). "
3235
echo "-- Initialize the database for Edgex."
3336
echo "-- Shutdown the database."
3437
echo "-- Verify all processes of Mongo are stopped."

0 commit comments

Comments
 (0)