bookmark/DEPLOY.md
2022-12-05 19:09:28 +08:00

13 lines
748 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

本程序基于 docker 来进行部署,使用 docker-compose 管理服务。
部署过程如下:
**注意,仅在 x86 环境下测试,arm下不保证可用性目前测试可用**
1. 安装新版的 docker,docker-compose,zip(注意:以下操作均在项目根目录下执行)
2. 修改.env 文件中的参数,改为你的实际配置
3. 修改`浏览器插件/bookmarkBrowserPlugin/static/js/config.js`中的 bookmarkHost改为你的实际部署路径
4. 修改`浏览器插件/bookmarkBrowserPlugin/tab/index.html`中的`<meta http-equiv="Refresh" content="0;url=https://bm.fleyx.com" />`,将 url 改为你的实际部署地址
5. 执行`build.sh`编译前后端代码
6. root 权限运行 `docker-compose up -d` 启动服务。