Comments (7)
要先打成 war 包才能部署,并且还要修改 server.xml 文件。
- 克隆项目到本地:https://github.com/miansen/Roothub.git
- 使用你熟悉的开发工具打开,如 IDEA 或者 Eclipse
- 创建 MySQL 数据库 roothub,字符集 utf8,如果想支持 emoji,就要选择 utf8mb4 字符集。
- 将项目下的 src/main/sql/roothub.sql 文件导入到 roothub 数据库。
- 修改 JDBC 配置文件 src/main/resources/jdbc.properties,帐号密码换成你自己的
- 开启了 Redis,修改 Redis 的配置文件 src/main/resources/redis.properties
- 用 Eclipse 或者 IDEA 将项目打成 war 包
- 将 war 包部署到 webapps 目录
- 修改 conf 目录下的 server.xml 文件,将你的 war 包添加上去
- 运行startup.sh
from roothub.
半天部署不好这个东西,能不能教教我啊,作者大人。
不会部署到 Tomcat 吗?能具体说一下卡在哪里了吗?最好能截图说明一下
from roothub.
from roothub.
from roothub.
恩,这个东西自己折腾一遍就会了。
网上查一下 Tomcat 怎么部署项目,怎么打 war 包,怎么修改 server.xml 配置文件
from roothub.
from roothub.
加我QQ吧,1158827539
from roothub.
Related Issues (20)
- 编译错误 HOT 7
- 项目部署完后怎么跑,要不要建数据库? HOT 2
- 系统问题 HOT 4
- 找不到主类! HOT 2
- master分支全是BUG HOT 1
- 大佬,能否给一下完整的从Navicat下导出的SQL脚本? HOT 2
- 你好,master分支下的项目,运行RoothubApplication后,直接跳转到登录页不是首页,而且用户名密码 输入admin 和123是错误的 HOT 2
- 2.6版本roothub.sql120行有问题 HOT 1
- 运行后解析不到静态资源 HOT 1
- 这样是要修改路径吗 HOT 1
- 找不到主类
- 搜索处SQL注入漏洞和XSS漏洞 HOT 1
- 版主功能 HOT 1
- 英文界面404 HOT 1
- 版块新增
- 下载不了什么鬼 HOT 1
- java: 程序包org.h2.server.web不存在 HOT 2
- 请问管理员密码是啥 HOT 17
- 兄弟能加个联系方式吗
- mysql5.5 版本的能运行?看到这里要求myql5.7的.. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from roothub.