这是我放的文件,根据同学们的改的
https://github.com/inertiabeer/ghost_config
debug的时候最好不要加-d
docker-compose up
然后看报错
如果出现了权限问题的话,看这个同学的回答
https://www.imooc.com/qadetail/240208
https://github.com/inertiabeer/ghost_config
debug的时候最好不要加-d
docker-compose up
然后看报错
如果出现了权限问题的话,看这个同学的回答
https://www.imooc.com/qadetail/240208
2018-02-02
为什么我还是报错:
db_1 | 2018-11-28T02:10:27.315197Z 0 [Note] Event Scheduler: Loaded 0 events
db_1 | 2018-11-28T02:10:27.315363Z 0 [Note] mysqld: ready for connections.
db_1 | Version: '5.7.15' socket: '/var/run/mysqld/mysqld.sock' port: 3306 MySQL Community Server (GPL)
ghost-app_1 | npm ERR! path /var/lib/ghost/package.json
ghost-app_1 | npm ERR! code ENOENT
ghost-app_1 | npm ERR! errno -2
ghost-app_1 | npm ERR! syscall open
ghost-app_1 | npm ERR! enoent ENOENT: no such file or directory, open '/var/lib/ghost/package.json'
ghost-app_1 | npm ERR! enoent This is related to npm not being able to find a file.
ghost-app_1 | npm ERR! enoent
ghost-app_1 |
ghost-app_1 | npm ERR! A complete log of this run can be found in:
ghost-app_1 | npm ERR! /root/.npm/_logs/2018-11-28T02_10_27_818Z-debug.log
ghost_ghost-app_1 exited with code 254
举报