Updated Using your own server (markdown)

Markus Törnqvist 2015-04-09 21:47:06 +03:00
parent 2cea3b69a9
commit cfb11186b1
1 changed files with 14 additions and 1 deletions

@ -11,12 +11,25 @@ To setup your own server a few things are required on your machine:
Furthermore Accounts with Gcm, Amazon S3 and Twilio are required, but can be made optional with few changes in the code.
You will also need the push server at https://github.com/WhisperSystems/PushServer
In case you're not going to use APN and/or GCM, refer to `src/main/java/org/whispersystems/pushserver/PushServer.java`
and comment out the `lifecycle().manage()` lines.
Build it with `mvn package`.
At the time of writing this, there is no configuration sample in the repository. If this is true,
https://github.com/janimo/textsecure-docker/blob/master/config/pushconfig.yml.sample should be
available for you to use.
Run it with `java -jar target/Push-Server-VERSION-capsule-fat.jar server pushconfig.yml.sample`
Once the requirements are installed, continue with the following:
1. git clone https://github.com/WhisperSystems/TextSecure-Server.git
2. cd into the TextSecure-Server directory
3. cp config/sample.yml local.yml
4. edit the local.yml with your details
4. edit the local.yml with your details, be sure to include the push server settings
5. compile server with `mvn package`
6. initialize account database with `java -jar PATH-TO-JAR accountdb migrate local.yml`
7. initialize message store with `java -jar PATH-TO-JAR messagedb migrate local.yml`