Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mtproto_proxy
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
mtproto_proxy
Commits
0c2aa335
Unverified
Commit
0c2aa335
authored
Aug 13, 2019
by
Sergey Prokhorov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add interactive installer script
parent
5e601bce
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
1 deletion
+21
-1
Makefile
Makefile
+1
-1
README.md
README.md
+20
-0
No files found.
Makefile
View file @
0c2aa335
...
...
@@ -38,7 +38,7 @@ $(LOGDIR):
install
:
user $(LOGDIR)
mkdir
-p
$(prefix)
cp
-
n
-r
_build/prod/rel/mtp_proxy
$(prefix)
/mtp_proxy
/
cp
-
r
_build/prod/rel/mtp_proxy
$(prefix)
/
mkdir
-p
$(prefix)
/mtp_proxy/log/
chmod
777
$(prefix)
/mtp_proxy/log/
install
-D
config/mtproto-proxy.service
$(SERVICE)
...
...
README.md
View file @
0c2aa335
...
...
@@ -23,6 +23,26 @@ Features
*
Small codebase compared to official one, code is covered by automated tests
*
A lots of metrics could be exported (optional)
How to install - one-line interactive installer
-----------------------------------------------
This command will run
[
interactive script
](
https://gist.github.com/seriyps/dc00ad91bfd8a2058f30845cd0daed83
)
that will install and configure proxy for your Ubuntu 18.04 server.
It will ask if you want to change default port/secret/ad-tag/protocols:
```
bash
curl
-L
-o
mtp_install.sh https://git.io/fj5ru
&&
bash mtp_install.sh
```
You can also just provide port/secret/ad-tag/protocols as command line arguments:
```
bash
curl
-L
-o
mtp_install.sh https://git.io/fj5ru
&&
bash mtp_install.sh
-p
443
-s
d0d6e111bada5511fcce9584deadbeef
-t
dcbe8f1493fa4cd9ab300891c0b5b326
-a
dd
-a
tls
```
It does the same as described in
[
How to start OS-install - detailed
](
#how-to-start-os-install---detailed
)
but
generates config-file for you automatically.
How to start - docker
---------------------
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment