Skip to content

A system management platform implemented using the Kungfu framework.

License

Notifications You must be signed in to change notification settings

ticktack/kungfu-admin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kungfu-admin

A system management platform implemented using the Kungfu framework. Make kungfu-admin one of the best practice examples of the Kungfu framework.

Experience address

https://admin.kungfu.wang/

Operating steps

  1. create MySQL database
create database database_name character set utf8mb4 collate utf8mb4_unicode_ci;

# ddl
mysql -u username -p database_name <  resources/sql/sys.sql

# init data
mysql -u username -p database_name < resources/sql/sys_init.sql
  1. project config update app-prod.txt with the correct database/username/password
# config

mysql.url=jdbc:mysql:https://127.0.0.1:7229/kungfu_admin?characterEncoding=utf8&useSSL=false&zeroDateTimeBehavior=convertToNull
mysql.username=root
mysql.password=******

# mode=prod
devMode=false

# baidu-ip-translate-api.sign=your-sign-here
ak=********

update undertow.txt with the correct port\hot-swapping class

# config undertow

undertow.devMode=true
undertow.host=0.0.0.0
undertow.port=9090

# outer hot swap class
undertow.hotSwapClassPrefix=com.lastb7.swagger.,org.kungfu.
  1. package
mvn clean package -Dmaven.test.skip=true
  1. deploy
copy local/target/kungfu-admin-release/kungfu-admin to remote/data/deploy/
  1. run
./start.sh

Open source is not easy, please give it a thumbs up, favorite, and follow. thanks!

About

A system management platform implemented using the Kungfu framework.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published