王子玥 5c42096431 | 3 years ago | ||
---|---|---|---|
.vscode | 删除 | 3 years ago | |
bootstrap-4.3.1-dist | 删除 | 3 years ago | |
css | 删除 | 3 years ago | |
highlight | 删除 | 3 years ago | |
im2latex_master | 删除 | 3 years ago | |
image | 删除 | 3 years ago | |
images | 删除 | 3 years ago | |
js | 删除 | 3 years ago | |
saas | 删除 | 3 years ago | |
.DS_Store | 3 years ago | ||
.Rhistory | 3 years ago | ||
Dockerfile.txt | 3 years ago | ||
callback.php | 3 years ago | ||
comment.php | 3 years ago | ||
edit_article.php | 3 years ago | ||
extra.js | 3 years ago | ||
feedback.php | 3 years ago | ||
index.php | 3 years ago | ||
init.sql | 3 years ago | ||
jquery.markdown.js | 3 years ago | ||
jquery.min.js | 3 years ago | ||
login.php | 3 years ago | ||
logout.php | 3 years ago | ||
markdown.css | 3 years ago | ||
markdown.php | 3 years ago | ||
pdo.php | 3 years ago | ||
personal_page.php | 3 years ago | ||
personal_page2.php | 3 years ago | ||
php.ini | 3 years ago | ||
readme.md | 3 years ago | ||
require.js | 3 years ago | ||
save_article.php | 3 years ago | ||
search.php | 3 years ago | ||
search_help.php | 3 years ago | ||
signup.php | 3 years ago | ||
test1.php | 3 years ago | ||
test2.php | 3 years ago | ||
test8.js | 3 years ago | ||
test9.php | 3 years ago | ||
test10.php | 3 years ago | ||
try.php | 3 years ago | ||
upload_action.php | 3 years ago | ||
view.php | 3 years ago | ||
view2.php | 3 years ago | ||
view3.php | 3 years ago | ||
workspace.code-workspace | 3 years ago |
搭建博客平台,可供用户进行博文发表,支持markdown语法,代码高亮显示,英文OCR,博文撰写同时的动态预览等功能。运用云数据库提高服务的可扩展性,运用负载均衡器减轻单点服务器的压力。
-- app2
-- im2latex_master OCR模型 (借鉴https://github.com/eragonruan/text-detection-ctpn,https://github.com/guillaumegenthial/im2latex 后修改,训练)
-- .php,.js文件 博客网站实现 (原创)
-- highlight 代码高亮显示的JS库
-- Dockerfile
(直接用镜像的话,镜像版本:php-python11,账号:wangziyueamy@sina.com a15862340183 )
申请ucloud云主机
在云主机上使用容器部署ngnix,php,python环境
进入项目目录
创建docker镜像,创建container
docker build -t wangziyue/php-ngnix-python .
docker run -d --rm -v /var/app2/:/app/ -p 80:80 --privileged=true --name php-nginx-python wangziyue/php-ngnix-python
可选:创建ucloud负载均衡器,从镜像再创建n个云主机,然后将负载均衡器与云主机ip绑定
OCR功能