Coder Social home page Coder Social logo

数据库链接问题 about rebuild HOT 8 CLOSED

getrebuild avatar getrebuild commented on August 11, 2024
数据库链接问题

from rebuild.

Comments (8)

devezhao avatar devezhao commented on August 11, 2024

如果你是开发环境(启动参数加 -Drbdev=true,详见 启动参数),那么会使用默认的 jdbc.properties 文件配置。
如果你是产品环境(通过安装程序初始化),那么系统会使用 ~/.rebuild/.rebuild 文件覆盖默认配置。(~ 表示用户目录)

from rebuild.

xnrcms avatar xnrcms commented on August 11, 2024

谢谢 你的回答,上面的问题解决了!但是线上部署一直要提示安装,我是本地打完包直接放到服务器上,数据库配置我都是配置好的,本地运行好的代码到线上也必须走一遍安装?

from rebuild.

devezhao avatar devezhao commented on August 11, 2024

不用的,系统通过加载 ~/.rebuild/.rebuild 文件判断是否安装。也就是说你把这个文件复制放到新机器上即可。

from rebuild.

xnrcms avatar xnrcms commented on August 11, 2024

我在做REBUILD技术评估,给领导演示,我现在部署的Linux环境遇到以下几个问题
1,window下通过maven打包,直接将target下rebuild复制到服务器上?
2,Linux下的tomcat是否要配置启动项Drbdev=true?
3,window下的.rebuild目录也可以直接复制上去? .rebuild这个目录是否必须要存在?
4,根据你们官方的文档,在部署这块说的也比较少,我在导入数据库时有一张表就遇到索引超限
5,你们系统部署对服务器的配置是否有要求?刚才部署发现启动很慢
6,刚才一直跳大安装页面,我在tomcat上catalina.sh这个文件加了启动项Drbdev=true ,结果运行跳到系统状态页面,在此页面显示:Memory Usage 11.86% (241.0M)和CPU Load n/a

from rebuild.

devezhao avatar devezhao commented on August 11, 2024
  1. 不需要。仅开发时需要,他决定了系统启动/运行时的一些行为
  2. 目录肯定也要正确,不然到哪找这个文件
  3. 系统初始脚本在 MySQL5.6 下会有警告,但只是警告,不影响使用
  4. 启动时间一般在30秒左右,如果时间比较长,检查下 MySQL、Redis(如有)是否可以被连接
  5. 启动失败了就会自动转到错误页,具体原因看错误日志

from rebuild.

devezhao avatar devezhao commented on August 11, 2024

如果部署有困难,建议下载 standalone 版本使用。

from rebuild.

xnrcms avatar xnrcms commented on August 11, 2024

我们需要二次开发

from rebuild.

devezhao avatar devezhao commented on August 11, 2024

谢谢 你的回答,上面的问题解决了!但是线上部署一直要提示安装,我是本地打完包直接放到服务器上,数据库配置我都是配置好的,本地运行好的代码到线上也必须走一遍安装?

升级和迁移文档 https://getrebuild.com/docs/admin/upgrade

from rebuild.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.