Skip to content

abdulhaqshah/be-prepared-app-bk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

How to run mongoDB on your device

Download MongoDB

Download MongoDB from their site. Here's the link for Ubuntu. https://docs.mongodb.com/manual/tutorial/install-mongodb-on-ubuntu/

Install

Launch the installer.

Rename the folder

After the installation rename the folder as mongo.

Folder Directory

Change the folder directory by moving it to home directory (prefered) or to any directory you like

New Folder

Make a new folder named 'mongo-data' in the same directory as mongo folder. This folder will contain the data of mongoDB.

Move to the Directory

Move to the directory where mongo and mongo-data folder is placed in terminal.
cd ~ if directory is home else cd

Move to further directory

Then move to the mongo/bin directory in terminal.
Command : cd mongo/bin

Command to run MongoDB server

Then run this command to run the mongodb server ./mongod --dbpath ~/mongo-data

How to run the Project

To run the project just run this command in your command line 'npm start'

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •