Skip to content

Commit ee2c1bb

Browse files
author
Diana Esteves
committed
update brew install steps
1 parent e0b055a commit ee2c1bb

File tree

1 file changed

+7
-15
lines changed

1 file changed

+7
-15
lines changed

README.adoc

Lines changed: 7 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -44,34 +44,26 @@ NOTE: You can also fork the project from Github and open it in your IDE or other
4444
With your project set up, you can install and launch the MongoDB database.
4545

4646

47-
If you use a Mac with Homebrew, you can run the following command:
47+
If you use a Mac with Homebrew, you can run the following commands:
4848

4949
====
5050
[src,bash]
5151
----
52-
$ brew install mongodb
53-
----
54-
====
55-
56-
With MacPorts, you can run the following command:
57-
58-
====
59-
[src,bash]
60-
----
61-
$ port install mongodb
52+
$ brew tap mongodb/brew
53+
$ brew install mongodb-community
6254
----
6355
====
6456

6557
For other systems with package management, such as Redhat, Ubuntu, Debian, CentOS, and
6658
Windows, see the instructions at https://docs.mongodb.org/manual/installation/.
6759

68-
After you install MongoDB, you can launch it in a console window by running the following
69-
command (which also starts up a server process):
60+
After you install MongoDB, you can start it by running the following
61+
command:
7062

7163
====
7264
[src,bash]
7365
----
74-
$ mongod
66+
$ brew services start mongodb-community
7567
----
7668
====
7769

@@ -80,7 +72,7 @@ You should see output similar to the following:
8072
====
8173
[src,bash]
8274
----
83-
all output going to: /usr/local/var/log/mongodb/mongo.log
75+
==> Successfully started `mongodb-community` (label: homebrew.mxcl.mongodb-community)
8476
----
8577
====
8678

0 commit comments

Comments
 (0)