integration-examples/loop-test-plugin/README.md

29 lines
790 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

### Loop Test Plugin
Места вставок описаны [тут](https://loop.yonote.ru/share/2adfdfc8-1104-4584-82a1-22f4a487f3eb/doc/mesta-dlya-integracij-1SkHMfgCW0)
Предварительно ставим зависимости (можно yarn, можно npm)
```bash
cd webapp
yarn
```
Для запуска выполняем
```bash
export MM_SERVICESETTINGS_SITEURL=__LOOP_URL__ # https://test.loop.ru или http://localhost:8065
export MM_ADMIN_TOKEN=__ADMIN_USER_TOKEN__
export MM_SERVICESETTINGS_ENABLEDEVELOPER=true
```
Затем собираем и загружаем плагин
```bash
make deploy
```
Или собираем архив и потом его можно загрузить через системную консоль
```bash
make dist
```