telegram_online icon indicating copy to clipboard operation
telegram_online copied to clipboard

how to run it

Open ignat-admin opened this issue 11 months ago • 7 comments

I don't quite understand how to run this application, can you explain in more detail?

ignat-admin avatar Mar 06 '24 13:03 ignat-admin

  1. You should have Linux
  2. You should install Docker
  3. Clone telegram_online
  4. Run ./run_docker.sh and enter necessary information
  5. Press ctrl+s to stop container
  6. Run again ./run_docker.sh :)
  7. Done

esin avatar Mar 06 '24 19:03 esin

Will it be possible to run this on Windows?

ignat-admin avatar Mar 07 '24 02:03 ignat-admin

Well, really - don't know Don't have any Windows :(

I think, if you have Docker, you can try to open run_docker.sh with notepad and copy commands from it into command line and may it will work

May be(!) run_docker.sh will work with WSL (have never seen it, but hope dies last)

esin avatar Mar 07 '24 04:03 esin

I did, you need to create a .py file and place it in a shared folder, here are its contents: import os

if not os.path.exists("session.madeline"): print("First run") os.system('docker run -ti -v %cd%:/app hub.madelineproto.xyz/danog/madelineproto:latest php /app/online.php') else: os.system('docker run --restart always -d --name telegram_online -v %cd%:/app hub.madelineproto.xyz/danog/madelineproto:latest php /app/online.php')

ignat-admin avatar Mar 07 '24 15:03 ignat-admin

а можно эту прогу сделать без докера, он чет комп грузит

ignat-admin avatar Mar 07 '24 15:03 ignat-admin

а можно эту прогу сделать без докера, он чет комп грузит

Да, конечно, но необходимо настроить окружение для запуска php скрипта

Готовый docker образ обеспечивает это окружение

esin avatar Mar 08 '24 13:03 esin

Блин, всё равно не понятно

jooblex avatar Sep 16 '24 11:09 jooblex