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

可以写一下如何安装你这个博客程序吗? #2

Open
luckypoem opened this issue Jul 28, 2017 · 3 comments
Open

可以写一下如何安装你这个博客程序吗? #2

luckypoem opened this issue Jul 28, 2017 · 3 comments

Comments

@luckypoem
Copy link

如题。
非常感谢

@qqj1228
Copy link
Owner

qqj1228 commented Jul 31, 2017

如果是照搬我这个网站的话,先fork我的程序,然后clone到本地。
在config目录内新建user.cfg用户配置文件,对照default.cfg将相应选项改成你自己的。
前端服务器按照你的喜好用nginx、apache、lighttpd、tornado等都可以。

@luckypoem
Copy link
Author

hi.
我clone了你的程序到我的vps,并在config目录内新建了user.cfg用户配置文件,对照了default.cfg,将相应的选项改成了我自己的,然后该如何操作?

@qqj1228
Copy link
Owner

qqj1228 commented Aug 30, 2017

在你的vps上安装python3,然后安装用到的依赖库。然后安装服务器软件,主流的就是nginx、apache这两个,然后配置nginx或者apache使之可以和我的python3应用连接。然后就是启动nginx或者apache服务,再启动我的python3应用。
如果用nginx的话,可以参考下廖老师的这个帖子https://www.liaoxuefeng.com/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/0014323392805925d5b69ddad514511bf0391fe2a0df2b0000
如果用apache的话,网上去搜一下“部署apache+python应用”
零基础的话还是建议你先补一下建站教程。

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

2 participants