介面文件管理,版本管理工具,阿里RAP的windows下部署
阿新 • • 發佈:2019-02-02
相關介紹:http://cn.rapapi.net/org/index.do
1 下載war包
https://raw.githubusercontent.com/thx/RAP/release/release/rap_release_v0.11.3_20150727.war
2 在tomcat的webapps/ROOT目錄下,刪除此資料夾下所有檔案(或者全部拷貝另存到其他地方),把這個
rap_release_v0.11.3_20150727.war使用winrar解壓縮工具解壓到此目錄下
3 開啟你的mysql資料庫服務,在命令列執行:
create database rap_db default charset utf8 COLLATE utf8_general_ci;grant all on rap_db.* to 'rap'@'localhost' IDENTIFIED BY 'password'; flush privileges;
4 匯入sql: mysql-> source d:\tomcat\webapps\ROOT/WEB-INF/classes/database/initialize.sql (你的目錄可能與我的tomcat目錄不同) 5 修改
d:\tomcat\webapps\ROOT/WEB-INF/classes/mysql.local.properties檔案中的
jdbc.username=你自己的資料庫使用者名稱稱 jdbc.password=你的密碼 6 啟動tomcat ,訪問:http://localhost:8080 即可