docker vue node nginx mongodb redis
1.0.0
Dockerに統合しますnode.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/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| 微信公众号 | 前端微信群 | 推荐ウェブ应用 |
|---|---|---|
| 静晴轩 | 大前端联盟 | ? 倾城之链 |
mit
著作権(c)2018-present、nicejade。