Giter VIP home page Giter VIP logo

Comments (7)

miansen avatar miansen commented on August 19, 2024 1

要先打成 war 包才能部署,并且还要修改 server.xml 文件。

  1. 克隆项目到本地:https://github.com/miansen/Roothub.git
  2. 使用你熟悉的开发工具打开,如 IDEA 或者 Eclipse
  3. 创建 MySQL 数据库 roothub,字符集 utf8,如果想支持 emoji,就要选择 utf8mb4 字符集。
  4. 将项目下的 src/main/sql/roothub.sql 文件导入到 roothub 数据库。
  5. 修改 JDBC 配置文件 src/main/resources/jdbc.properties,帐号密码换成你自己的
  6. 开启了 Redis,修改 Redis 的配置文件 src/main/resources/redis.properties
  7. 用 Eclipse 或者 IDEA 将项目打成 war 包
  8. 将 war 包部署到 webapps 目录
  9. 修改 conf 目录下的 server.xml 文件,将你的 war 包添加上去
  10. 运行startup.sh

from roothub.

miansen avatar miansen commented on August 19, 2024

半天部署不好这个东西,能不能教教我啊,作者大人。

不会部署到 Tomcat 吗?能具体说一下卡在哪里了吗?最好能截图说明一下

from roothub.

214058830 avatar 214058830 commented on August 19, 2024

from roothub.

214058830 avatar 214058830 commented on August 19, 2024

from roothub.

miansen avatar miansen commented on August 19, 2024

恩,这个东西自己折腾一遍就会了。
网上查一下 Tomcat 怎么部署项目,怎么打 war 包,怎么修改 server.xml 配置文件

from roothub.

214058830 avatar 214058830 commented on August 19, 2024

from roothub.

miansen avatar miansen commented on August 19, 2024

加我QQ吧,1158827539

from roothub.

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.