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

求教,怎么一次性下载所有公开模板 #139

Open
justin-eng opened this issue Feb 9, 2020 · 2 comments
Open

求教,怎么一次性下载所有公开模板 #139

justin-eng opened this issue Feb 9, 2020 · 2 comments

Comments

@justin-eng
Copy link

求教,怎么一次性下载所有公开模板
一个个添加特别麻烦,然后有一次docker点了升级,所有的模板都不见了。。。
-v /qiandao :/usr/src/app/volume里面空的,所有文件都在上一层
然而挂载-v /qiandao :/usr/src/app, docker就起不来

@livingli
Copy link

livingli commented Mar 8, 2020

我也想知道

@x2009again
Copy link

求教,怎么一次性下载所有公开模板
一个个添加特别麻烦,然后有一次docker点了升级,所有的模板都不见了。。。
-v /qiandao :/usr/src/app/volume里面空的,所有文件都在上一层
然而挂载-v /qiandao :/usr/src/app, docker就起不来

建议自己构建镜像,修改下config.py,把database.db的路径修改为一个新的目录中,然后run时挂载Volume到新指定的database.db目录中,我就这么玩的,修改这位的源码,这个有dockerfile可以生成镜像:https://github.com/fangzhengjin/qiandao

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