Skip to content

shachafn/wsep192

Repository files navigation

Build Status

AviExpress

An E-Commerce website built using .Net Core and MongoDB.

How To Run

Set up Mongo (Windows):

  1. Download MongoDB Server
  2. Add MongoDB to the system's path
  3. Create the path C:\MongoDB\Replica1.
  4. Open the Command Line as an Administrator and run: “mongod --replSet rs1 --dbpath C:\MongoDB\Replica1 --port 37017”
  5. Open the Command Line as an Administrator and run: “mongo --port 37017”
  6. In the Command Line from step 5 run :” config = { _id: "rs1", members: [ {_id: 0, host: "localhost:37017"} ] }”
  7. In the Command Line from step 5 run :”rs.initiate(config)”

(For Linux instructions there are many sources online on how to "Create a Replica Set".)

Next: The system can execute different operations as they are specified in the system_init.json residing in the root folder. Run the system once with the existing file, then replace it with an empty array ("[]").

About

E-Commerce Application Built Using ASP .Net Core And MongoDB

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published