Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-2969

Comment on: "manual/tutorial/getting-started.txt"

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 01112017-cleanup
    • None
    • None

    Description

      The OSX startup instructions are unclear as written. Other people on stackoverflow were confused too.

      I installed with homebrew:
      brew install mongo

      then started server:
      mongod --config /usr/local/etc/mongod.conf [12:44:10]
      all output going to: /usr/local/var/log/mongodb/mongo.log

      then in a new terminal window:
      mongo
      (connecting to test)
      use dbname
      (switches to dbname)
      db.messages .insert(

      {message: 'Hello Mongo'}

      )
      (creates collection and document if does not exist)
      show collections //to see the results
      (lists collections
      messages system.indexes)

      Attachments

        Activity

          People

            sam.kleinman Sam Kleinman (Inactive)
            xgen-internal-docs Docs Collector User (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              9 years, 47 weeks, 2 days ago