Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

项目还能部署吗?用了宝塔面板的方法,不成功好像项目里缺少文件 #4

Open
jfplyl999 opened this issue Dec 23, 2021 · 14 comments

Comments

@jfplyl999
Copy link

No description provided.

@jwt1399
Copy link
Owner

jwt1399 commented Dec 23, 2021 via email

@jfplyl999
Copy link
Author

https://www.django.cn/article/show-30.html 我是根据你发的这个链接部署的,麻烦看看这个教程有不对的地方吗?我照他的方法配置有问题,1.教程里面端口不一致 2.教程里面提到有静态文件夹,但是项目包里面没有

@jwt1399
Copy link
Owner

jwt1399 commented Dec 23, 2021

建议先熟悉Django

@jfplyl999
Copy link
Author

麻烦指点下方向,我网上找了很多宝塔部署Django的教程,试了好多都没成功

@jwt1399
Copy link
Owner

jwt1399 commented Dec 23, 2021

就严格按照部署文章要求配可以了啊,端口配一样,静态资源在子系统的static文件夹里面,你实在部署不成功,先本地部署,弄清楚文件结构

@jwt1399
Copy link
Owner

jwt1399 commented Dec 23, 2021

我自己亲测过的哈,按照教程方法是可以成功部署的,不然不会放链接的

@jfplyl999
Copy link
Author

好的,那我再试试,谢谢

@jfplyl999
Copy link
Author

image
看你的项目里面已经有这个文件了,我本地还需要导出吗

@jwt1399
Copy link
Owner

jwt1399 commented Dec 24, 2021

不需要

@jfplyl999
Copy link
Author

请问这个路径配置的对吗?
image

@jfplyl999
Copy link
Author

image

@jfplyl999
Copy link
Author

直接ip访问提示Internal Server Error,需不需要加端口8997

@jfplyl999
Copy link
Author

image

@xg6666
Copy link

xg6666 commented Mar 6, 2022

哥,你的目录扫描可以打开吗?
base_file_path = 'dirscan/dirsearch/reports/target.json' # json文件地址
这个文件缺失一直报错,你那有这问题吗?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants