Byzanteam / skylark-docker

0 stars 5 forks source link

deploy script #17

Closed hw676018683 closed 6 years ago

hw676018683 commented 6 years ago

部署脚本都放在 ./deploy/下,目前只有./deploy/tcyx,后面还会加上./deploy/master ./deploy/gxzh

hw676018683 commented 6 years ago

有个疑问,为啥docker这里有NODE_ENV=production yarn install,而我在nima的部署里没看到有这步

hw676018683 commented 6 years ago

但是production 服务器的current目录没看到有 ./node_modules

fahchen commented 6 years ago

这个不知道是怎么回事

fahchen commented 6 years ago
hw676018683 commented 6 years ago

这pr先别合吧,后面把assets也放在本地做,node_modules确实太大了

fahchen commented 6 years ago

现在编译是需要数据库的,为什么?我记得我们之前找到过原因,但我忘了

hw676018683 commented 6 years ago

我测试时,是需要settings.yml的assets host,是否需要数据库我没测试过

hw676018683 commented 6 years ago

@fahchen 看下,没问题,可以合了。