tryzealot/zealot

[Bug]: ERROR: Procfile.dev does not exist.

Gordon2780 opened this issue · 2 comments

部署方式 | How to Deploy

源码部署 | Source

部署版本 | Version

stable

反代服务 | Reverse Proxy

none

HTTPS 证书类型 | HTTPS(SSL)

自签名证书 Self-signed SSL

已阅读文档 | Read the document

  • 已阅读 | Yes

描述 | Description

Mac Apple M1
下载 zealot-develop 或 zealot-4.5.3 版本 (不同路径)
按照文档 https://zealot.ews.im/zh-Hans/docs/self-hosted/deployment/source-code
执行 bin/dev 时报错
ERROR: Procfile.dev does not exist.
检查了源码目录 Procfile.dev文件存在

cat Procfile.dev

web: bin/rails server -p 3000 -b 0.0.0.0
job: bin/sidekiq -C config/sidekiq.yml
js: yarn build --watch
css: yarn build:css --watch

问题日志 | Relevant log output

~ cd development 
➜  development cd zealot-4.5.3 
➜  zealot-4.5.3 cd bi
cd: no such file or directory: bi
➜  zealot-4.5.3 cd bin
➜  bin dev
zsh: command not found: dev
➜  bin ./dev
Installing foreman...
Fetching foreman-0.87.2.gem
Successfully installed foreman-0.87.2
Parsing documentation for foreman-0.87.2
Installing ri documentation for foreman-0.87.2
Done installing documentation for foreman after 0 seconds
1 gem installed
ERROR: Procfile.dev does not exist.
➜  bin ./dev
ERROR: Procfile.dev does not exist.
➜  bin cd ~~ cd zealot-develop
➜  zealot-develop cd bin
➜  bin ./dev
ERROR: Procfile.dev does not exist.
➜  bin cd ..
➜  zealot-develop cat Procfile.dev
web: bin/rails server -p 3000 -b 0.0.0.0
job: bin/sidekiq -C config/sidekiq.yml
js: yarn build --watch
css: yarn build:css --watch
➜  zealot-develop

感谢你提交的问题或反馈,我会在有时间的时候回复在此期间你可以看看之前被解决的反馈说不定有你需要的答案。
Thanks for opening this issue, a maintainer will get back to you shortly!

文件这不好好的放在那里:
https://github.com/tryzealot/zealot/blob/develop/Procfile.dev

你确定你看文档了吗?