Learn Express and MongoDB !
# install dependencies
npm install
# serve with hot reload at localhost:8090
npm run dev
# build for production with minification
npm run build
# build for production and view the bundle analyzer report
npm run build --reportFor detailed explanation on how things work, checkout the guide and docs for vue-loader.
-
mongod --config /usr/local/etc/mongod.conf -
mongo -
PORT=3030 node /server/bin/www -
npm run dev
pm2 deploy ecosystem.json production setup
-
docker build -t xiecg53/express-mall . -
docker tag xiecg53/express-mall hub.c.163.com/xiecg53/express-mall:1.0.10 -
docker push hub.c.163.com/xiecg53/express-mall:1.0.10
docker run --name mall -p 3030:3030 -d hub.c.163.com/xiecg53/express-mall:1.0.10