Git Product home page Git Product logo

mmpz's Introduction

MMPZ

买卖铺子,做自己的买卖

项目开启流程:

一、安装Webstorm、MongoDB以及Robomongo

二、开启mongoDB数据库

1.在控制台输入

cd C:\Program Files\MongoDB\Server\3.6\bin //后面的地址是安装的MongoDB的bin目录的地址

2.在控制台输入

mongod --dbpath F:\MMPZ\db  //后面的地址是项目目录的db文件夹地址  运行结果  cmd

三、通过Robomongo或MongoDB Compass Community连接数据库开启的端口

 连接  连接成功之后可以查看、修改、删除数据库 连接

四、打开项目,并打开app.js入口文件,右键运行run 'app.js'

五、开启项目可能遇到的问题

如果MongoDB数据库打开失败,则删除项目db文件夹里面的东西,再重新生成。如果删除db文件夹里面的数据之后,项目得以成功打开,那么控制台会报错(goodsrclist数组undefined),这是正常的,只要以管理员身份登录后台,录入所有商品信息即可解决此问题。

六、目录结构

目录一
连接
目录二
连接

mmpz's People

Contributors

nangxif avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.