-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathread-me.txt
63 lines (53 loc) · 2.28 KB
/
read-me.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
without domain
1- prepare remote server ubuntu 20LTS
2- make the ssh connection to it.
3- get files of project by git and wget
4- install docker
5- install ngrok
6- install jupyter - optional
7- install vnc
8- install wine
9- install tightVNC on local system
10- make a connection to vnc server point with ssh port forward
11- connect to vnc server
12- download Meta trader 5 from broker site and login
13- install python windows and install packages MetaTrader5 and MTLinux
14- run server MTLinux and keep port
15- edit .env file in project
16- docker compose up -d
with domain
1- prepare remote server ubuntu 20LTS
2- config dns to point to this server IP
3- make the ssh connection to it.
4- get files of project by git and wget
5- install docker
6- install traefic and config for domain
chmod +x traefik-installation.bash
which make a directory with name traefic in your project that have docker compose traefik and also ssl certification
- run command docker compose
docker compose -f ./traefik/docker-compose.yml up -d
docker compose -f docker-compose-with-domain.yml up -d
check dashboard
https://traefik.imannasr.com/
7- install jupyter - optional
8- install GUI installation
9- install wine by script
- login by GUI environment from server panel
open firefox browser that is installed by wine script in the previous step and download the below applications
download meta trader 5 from your broker or below link from alpari
https://download.mql5.com/cdn/web/alpari/mt5/alpari5setup.exe
install python for wine windows from the below line
https://www.python.org/ftp/python/3.10.10/python-3.10.10-amd64.exe
install MetaTrader5 and mt5linux packages in terminal
apt install MetaTrader5 mt5linux
attention to use server IP 0.0.0.0 insted of 127.0.0.1
the then run the server
python3 -m mt5linux "C:\users\my\AppData\Local\Programs\Python\Python310\python.exe" --host 0.0.0.0 --p 18812
find port that has been shown in terminal and write it down
11- make a connection to vnc server point with ssh port forward
12- connect to vnc server
13- download Meta trader 5 from broker site and login
14- install python windows and install packages MetaTrader5 and MTLinux
15- run server MTLinux and keep port
16- edit .env file in project
17- docker compose up -d