Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

local.md updated for mac os support for mongodb setup #519

Closed
wants to merge 2 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 13 additions & 1 deletion docs/installation/local.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ pipenv install -r requirements.txt
pipenv shell # To activate virtual environment
```

To set up MongoDB on your server :
To set up MongoDB on your server on ubuntu :

```bash
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10
Expand All @@ -49,6 +49,18 @@ sudo apt-get install -y mongodb
sudo service mongod start
```

To set up MongoDB on your server on mac :

```
brew install mongo
sudo mkdir -p /data/db
whoami
sudo chown <output_of_whoami> /data/db
export MONGO_PATH=<path_to_mongodb>
export PATH=$PATH:$MONGO_PATH/bin
mongod
```

To run the project on a local machine.

For development mode (with debugger active), use the following command
Expand Down