docker vue node nginx mongodb redis
1.0.0
DockerNode.js (>=4.x, 8.x preferred), Npm version 4+(Yarn preferred), Git, Mongodb, Nginx, Redis and Docker.
# ? clone the project
git clone https://github.com/nicejade/docker-vue-node-nginx-mongodb-redis.git
# ➕ install dependencies
cd docker-vue-node-nginx-mongodb-redis
yarn && yarn bootstrap
# ? start developing
yarn start
# Or Run the following commands in the terminal two different TAB
cd client && yarn start
cd server && yarn startThe program will automatically open http://localhost:8080/ for client and http://localhost:4000/ for server. Intelligently, it will specify the available port for you (incremental, eg: 8081 or 8082) if port 8080 is busying on your machine.
# deploy your client & server(local or server)
yarn deploy
# Or Run the following command at root directory
docker-compose up| 微信公众号 | 前端微信群 | 推荐 Web 应用 |
|---|---|---|
| 静晴轩 | 大前端联盟 | ? 倾城之链 |
MIT
Copyright (c) 2018-present, nicejade.