Fetch the repository succeeded.
This action will force synchronization from oyhk/mkfree-deploy, which will overwrite any changes that you have made since you forked the repository, and can not be recovered!!!
Synchronous operation will process in the background and will refresh the page when finishing processing. Please be patient.
http://demo.deploy.mkfree.com:8091/deploy/project 账号:admin 密码:admin
git clone https://gitee.com/381895649/mkfree-deploy.git
cd mkfree-deploy-backend
打开配置文件 application-prod.properties 修改数据库连接配置
# EMBEDDED SERVER CONFIGURATION (ServerProperties)
server.port=8091
server.tomcat.uri-encoding=UTF-8
# http setting
spring.http.encoding.charset=UTF-8
spring.http.encoding.enabled=true
spring.http.encoding.force=true
#db
spring.datasource.url=jdbc:mysql://127.0.0.1:3306/mkfree_deploy_prod?useUnicode=true&characterEncoding=UTF-8&useSSL=false
spring.datasource.username=root
spring.datasource.password=
#jpa
spring.jpa.hibernate.ddl-auto=update
#thymeleaf
spring.thymeleaf.cache=false
spring.thymeleaf.prefix=classpath:/templates/
spring.thymeleaf.encoding=UTF-8
构建项目
mvn clean package
启动命令
java -jar target/mkfree-deploy-backend-1.0.0.jar --spring.profiles.active=prod
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。