Commit graph mt5-manager/deploy_service.py
Author SHA1 Message Date
3284d6c475 Ensure service autostart during deployment 2026-10-31 14:22:28 +03:00
dab8672a25 Resolve all terminal paths relative to the base directory 2026-10-31 07:26:44 +03:00
88b0a94eaf Support running the manager outside a MetaTrader installation 2026-10-31 06:48:02 +03:00
930b46b3c1 Добавить создание терминалов, обновление сервиса и документацию
- реализовать создание portable-экземпляров и настройку счетов
- обновить интерфейс и добавить обновление проекта через Git
- добавить сборку и распространение сервиса
- организовать материалы статей и описать актуальную версию
- запрашивать тестовый пароль интерактивно и расширить проверки
2026-10-29 14:39:39 +03:00
dbed2c48f9 Edit article part 4, add testing section and screenshots
Article:
- edit all sections, shorten schema drift story,
  drop the useful-links and warning sections, keep first-level TOC only
- add "Тестирование" with three 750 px screenshots (docs/images)
- add "Содержание архива" with file versions

Code:
- ServiceStateWriter.mq5: use TERMINAL_DATA_PATH (portable-only), replace
  ExecutePragma() with DatabaseExecute(), use built-in
  ERR_DATABASE_NO_MORE_DATA, align comments with the article
- deploy_service.py: skip compilation when .ex5 is newer than the source
- bump versions: main.py 0.3.0, config.py 0.2.0, static/script.js 0.2.0

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-28 21:19:21 +03:00
4a55946f8a Add deploy_service.py to automate service redeployment
Wraps the manual steps we kept redoing after every schema/service
change: sync each terminal's Shared Projects copy via git, compile the
service, and drop config/services.ini into place.

Per-terminal headless MetaEditor compilation proved unreliable in
testing - it can exit 0 without producing a log or touching the .ex5,
seemingly needing an interactive desktop session. The script compiles
once against the repo's own working tree instead and copies the
resulting .ex5 to the other terminals, verifying success by checking
the file's mtime actually changed rather than trusting the exit code.
2026-07-27 15:22:37 +03:00