Installation
Installing Java
The weServer environment depends on a software called Java. Java is a program that allows other computer programs to run. In order for weServer to start, you have to download the Java Development Kit (JDK). You may already have it installed. To check, open a Terminal window and type in the command java. If you get an error message telling you to download the JDK, that means you will have to install it off of Java's website. If you don't, then that means you have Java installed and you can skip this step.
To download the JDK, click on this link. You will be taken to Java's website. Once you are there, click on the Download button under JDK. You will then be taken to a page that says something like "Java SE Development Kit Downloads". Click on the radio button that says "Accept License Agreement", and then click on the link next to the macOS version of Java.
It might take a while to download due to the size of the file. Once it is downloaded, run the installer. After the installation process is finished, you should have Java on your computer. To check, open Terminal again and run java. If you see a fairly long output, that means it has been installed.
Turning On Accessibility Features
After downloading Java, you will need to add the Terminal app to your Accessibility tab. weServer uses certain accessibility functions in order to make message sending possible, so those will need to be turned on before using your weServer (it is completely safe, weServer only uses functions that it needs).
To do this, open System Preferences, go to Security & Privacy, click the Privacy tab, and then click on Accessibility. Once you are there, click on the lock to make changes, and enter in your password if you have one. Then click on the + sign, find your Terminal app file, and click Open. It should be located under Applications > Utilities > Terminal. Once that is done, Terminal should be added to the Accessibility list.
Installing weServer
Download weServer Version 1.2.0 if you haven't done so already. Extract the archive and then click run.command. If a dialog box pops up about it being from an unidentified developer, or that it might be dangerous because it has been downloaded from the Internet, then you need to go into your System Preferences again, click Security & Privacy, and click General. In the "Allow apps downloaded from" section, there should be a line that says "run.command was blocked from opening". Hit the button that says Open Anyway and it should start. The warning dialog box will only show once, and if you did not get it in the first place then you can skip that step.
On first startup, you will be asked to enter your iMessage email and a password. Your email must match the one you are using iMessage with. However, your password can be anything. Once you enter both of those in, your weServer will start.
Once your weServer is running, go to the weMessage app on your Android device. You will need to enter an IP Address, Email, and Password, and a Failover IP Address (optional). The email and password need to match the values set on your weServer.
Getting Your IP Address
The IP Address points to where your weServer environment is running and it is needed in order to connect to your weServer. There are two types of IP addresses: a private IP address and a public IP address. A private IP address is the easiest to get, and it allows you to connect to your weServer inside your own Internet network. However, if you want to connect outside of your own Wi-Fi and access your weServer over a cellular connection or outside your home, you will need a Public IP Address. In order to use a Public IP Address with your weServer, you will need to go through a process called port forwarding. This can be a little tricky if this is your first time doing it, and every router has a different process. Port forwarding is explained in more detail in this section.
For starters, let's get our private IP address first. Go to System Preferences and then click Network. Then click Advanced... and then click the tab that says TCP/IP. Your private IP address will be next to IPv4 Address.
Enter your IP address into the corresponding field in the weMessage app. Press Sign In, and you should see a checkmark animation and then be taken to the main screen. Congratulations, you have successfully connected!
You can also enter in a Failover IP Address, which is the IP Address weMessage will fallback on if the first IP Address is unable to connect to your weServer. For example, if you have port forwarded your weServer and are using a Public IP Address, but when you are on your home network you need to use the Local Private IP Address, you can enter your Private IP as your Failover IP Address so that it will connect to your private IP on your home network if the public IP fails to connect.