Commit dbe89fc6 authored by Viktor Oreshkin's avatar Viktor Oreshkin

Add info about deps to README

parent e03d0023
# MTProxy # MTProxy
# Building
Install dependencies: you'd need normal set of tools for building from
source, and a dev package for openssl.
On Ubuntu/Debian:
```bash
apt install build-essential libssl-dev
```
On CentOS:
```bash
yum install openssl-devel
yum groupinstall "Development Tools"
```
To build, simply run `make`. Your binary will be in `objs/bin/mtproto-proxy`. If build was failed, you would do `make clear` at first, before building it again. To build, simply run `make`. Your binary will be in `objs/bin/mtproto-proxy`. If build was failed, you would do `make clear` at first, before building it again.
To run `mtproto-proxy`: # Running
1. Obtain a secret, used to connect to telegram servers. 1. Obtain a secret, used to connect to telegram servers.
```bash ```bash
curl -s https://core.telegram.org/getProxySecret -o proxy-secret curl -s https://core.telegram.org/getProxySecret -o proxy-secret
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment