docker vue node nginx mongodb redis
1.0.0
Dockernode.js(> = 4.x,8.x首選),NPM版本4+(YARN首選),git,mongodb,nginx,redis和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 start該程序將自動打開http:// localhost:8080/for Client和http:// localhost:4000/for Server。明智地,如果端口8080忙於機器,它將為您指定可用端口(例如: 8081或8082 )。
# deploy your client & server(local or server)
yarn deploy
# Or Run the following command at root directory
docker-compose up| 微信公眾號 | 前端微信群 | 推薦網應用 |
|---|---|---|
| 靜晴軒 | 大前端聯盟 | ? 傾城之鍊 |
麻省理工學院
版權(c)2018年至今,尼斯·賈德(Nicejade)。