下载资源
Clone TextSecure (Signal) Server
git clone https://github.com/lucaconte/Signal-Server.gitClone Push Server
git clone https://github.com/lucaconte/PushServer.gitClone WebSocket Resources
git clone https://github.com/lucaconte/WebSocket-Resources.git 切换tag 0.3.2In Push Server pom.xml, change capsule.maven.plugin.version version to 1.0.1
WebSocket-Resources项目里 sample-server - pom.xml parent =》0.3.2
-
Build Push Server
- mvn clean install -DskipTests
-
Build WebSocket Resources
- mvn clean install -DskipTests
- mvn install:install-file -Dfile=./library/target/websocket-resources-0.3.2.jar -DgroupId=org.whispersystems -DartifactId=websocket-resources -Dversion=0.3.2 -Dpackaging=jar
-
Build TextSecure (Signal) Server
- mvn clean install -DskipTests
-
初始化数据库
- java -jar target/TextSecureServer-1.70.jar accountdb migrate config/text2.yml
- java -jar target/TextSecureServer-1.70.jar messagedb migrate config/text2.yml
- 运行项目
java -jar TextSecureServer-1.70.jar server config/text.yml