Sign inSign up

ydlhero/ocr-web

By ydlhero

Updated over 2 years ago

我自己用的前端 包括 m/ai m/super m/pdd

Image
0

539

ydlhero/ocr-web repository overview

ocr web 客户端

docker部署 Docker build & Run

到香港服务器上

git pull

#更新代码
cd cd /data/app/tool-ocr/ocr-web/
git pull

#build 
docker build -t ocr-web .
#搞一个docker 
docker rm -f  ocr-web && docker run --name ocr-web  -itd  --restart=always  -p 2080:80  ocr-web

#提交到 hub.docker
docker build -t ocr-web . && docker tag ocr-web ydlhero/ocr-web:v1 && docker push ydlhero/ocr-web:v1
docker pull ydlhero/ocr-web:v1
docker rm -f  ocr-web && docker run --name ocr-web  -itd  --restart=always  -p 2080:80  ydlhero/ocr-web:v1

部署

ssh me_huawei
cd /data/app/tool-ocr
git pull
#访问 https://aidutu.cn/m/

项目客户端调试

npm install
npm run serve
npm run build

项目服务端

  • 采用 express 框架
  • mysql 使用了 mysql2
  • 启动文件在 nserver/server.js
Customize configuration

See Configuration Reference.

Tag summary

Content type

Image

Digest

sha256:16e9d6308

Size

36.5 MB

Last updated

over 2 years ago

docker pull ydlhero/ocr-web:v5