mirror of
https://github.com/mongodb/mongo.git
synced 2024-12-01 09:32:32 +01:00
9f42560f56
updated with new DevCenter, University links; updated download instructions, removed duplicate Compass instructions Closes https://github.com/mongodb/mongo/pull/1507 Signed-off-by: yuanfang0818 <yuan.fang@mongodb.com>
96 lines
2.2 KiB
Markdown
96 lines
2.2 KiB
Markdown
# ![Logo](docs/leaf.svg) MongoDB README
|
|
|
|
Welcome to MongoDB!
|
|
|
|
## Components
|
|
|
|
- `mongod` - The database server.
|
|
- `mongos` - Sharding router.
|
|
- `mongo` - The database shell (uses interactive javascript).
|
|
|
|
|
|
## Download MongoDB
|
|
- https://www.mongodb.com/try/download/community
|
|
- Using homebrew `brew tap mongodb/brew`
|
|
- Using docker image `docker pull mongo`
|
|
|
|
|
|
## Building
|
|
|
|
See [Building MongoDB](docs/building.md).
|
|
|
|
## Running
|
|
|
|
For command line options invoke:
|
|
|
|
```bash
|
|
$ ./mongod --help
|
|
```
|
|
|
|
To run a single server database:
|
|
|
|
```bash
|
|
$ sudo mkdir -p /data/db
|
|
$ ./mongod
|
|
$
|
|
$ # The mongo javascript shell connects to localhost and test database by default:
|
|
$ ./mongo
|
|
> help
|
|
```
|
|
|
|
## Installing Compass
|
|
|
|
You can install compass using the `install_compass` script packaged with MongoDB:
|
|
|
|
```bash
|
|
$ ./install_compass
|
|
```
|
|
|
|
This will download the appropriate MongoDB Compass package for your platform
|
|
and install it.
|
|
|
|
## Drivers
|
|
|
|
Client drivers for most programming languages are available at
|
|
https://docs.mongodb.com/manual/applications/drivers/. Use the shell
|
|
(`mongo`) for administrative tasks.
|
|
|
|
## Bug Reports
|
|
|
|
See https://github.com/mongodb/mongo/wiki/Submit-Bug-Reports.
|
|
|
|
## Packaging
|
|
|
|
Packages are created dynamically by the [buildscripts/packager.py](buildscripts/packager.py) script.
|
|
This will generate RPM and Debian packages.
|
|
|
|
## Learn MongoDB
|
|
|
|
Documentation - https://docs.mongodb.com/manual/
|
|
Developer Center - https://www.mongodb.com/developer/
|
|
MongoDB University - https://learn.mongodb.com
|
|
|
|
## Cloud Hosted MongoDB
|
|
|
|
https://www.mongodb.com/cloud/atlas
|
|
|
|
## Forums
|
|
|
|
- https://community.mongodb.com
|
|
|
|
Technical questions about using MongoDB.
|
|
|
|
- https://community.mongodb.com/c/server-dev
|
|
|
|
Technical questions about building and developing MongoDB.
|
|
|
|
|
|
## LICENSE
|
|
|
|
MongoDB is free and the source is available. Versions released prior to
|
|
October 16, 2018 are published under the AGPL. All versions released after
|
|
October 16, 2018, including patch fixes for prior versions, are published
|
|
under the [Server Side Public License (SSPL) v1](LICENSE-Community.txt).
|
|
See individual files for details.
|
|
|