- Get teamgram-ios source code
mkdir ~/Teamgram
cd ~/Teamgram
git clone --recursive https://github.com/teamgram/teamgram-ios.git
- build, see build teamgram-ios, and google
cd ~/Teamgram/teamgram-ios
sh r.sh
Default connect to Teamgram Test Server.
If you want to connect to your own server, you can modify the following code:
https://github.com/teamgram/teamgram-ios/blob/teamgram/submodules/TelegramCore/Sources/Network/Network.swift#L473
if testingEnvironment {
seedAddressList = [
1: ["XXX.XXX.XXX.XXX"]
]
} else {
seedAddressList = [
1: ["XXX.XXX.XXX.XXX"]
]
}