99 @echo " "
1010 @echo " build-push build image and upload to ghcr.io"
1111 @echo " "
12- @echo " run27 install UiExample for Nextcloud 27"
1312 @echo " run28 install UiExample for Nextcloud 28"
13+ @echo " run29 install UiExample for Nextcloud 29"
1414 @echo " run install UiExample for Nextcloud Last"
1515 @echo " "
1616 @echo " For development of this example use PyCharm run configurations. Development is always set for last Nextcloud."
1717 @echo " First run 'UiExample' and then 'make registerXX', after that you can use/debug/develop it and easy test."
1818 @echo " "
19- @echo " register27 perform registration of running UiExample into the 'manual_install' deploy daemon."
2019 @echo " register28 perform registration of running UiExample into the 'manual_install' deploy daemon."
20+ @echo " register29 perform registration of running UiExample into the 'manual_install' deploy daemon."
2121 @echo " register perform registration of running UiExample into the 'manual_install' deploy daemon."
2222 @echo " "
2323 @echo " L10N (for manual translation):"
@@ -30,46 +30,46 @@ build-push:
3030 docker login ghcr.io
3131 docker buildx build --push --platform linux/arm64/v8,linux/amd64 --tag ghcr.io/cloud-py-api/ui_example:latest .
3232
33- .PHONY : run27
34- run27 :
35- docker exec master-stable27-1 sudo -u www-data php occ app_api:app:unregister ui_example --silent --force || true
36- docker exec master-stable27-1 sudo -u www-data php occ app_api:app:register ui_example --force-scopes \
37- --info-xml https://raw.githubusercontent.com/cloud-py-api/nc_py_api/main/examples/as_app/ui_example/appinfo/info.xml
38-
3933.PHONY : run28
4034run28 :
4135 docker exec master-stable28-1 sudo -u www-data php occ app_api:app:unregister ui_example --silent --force || true
4236 docker exec master-stable28-1 sudo -u www-data php occ app_api:app:register ui_example --force-scopes \
4337 --info-xml https://raw.githubusercontent.com/cloud-py-api/nc_py_api/main/examples/as_app/ui_example/appinfo/info.xml
4438
39+ .PHONY : run29
40+ run28 :
41+ docker exec master-stable29-1 sudo -u www-data php occ app_api:app:unregister ui_example --silent --force || true
42+ docker exec master-stable29-1 sudo -u www-data php occ app_api:app:register ui_example --force-scopes \
43+ --info-xml https://raw.githubusercontent.com/cloud-py-api/nc_py_api/main/examples/as_app/ui_example/appinfo/info.xml
44+
4545.PHONY : run
4646run :
4747 docker exec master-nextcloud-1 sudo -u www-data php occ app_api:app:unregister ui_example --silent --force || true
4848 docker exec master-nextcloud-1 sudo -u www-data php occ app_api:app:register ui_example --force-scopes \
4949 --info-xml https://raw.githubusercontent.com/cloud-py-api/nc_py_api/main/examples/as_app/ui_example/appinfo/info.xml
5050
51- .PHONY : register27
52- register27 :
53- docker exec master-stable27-1 sudo -u www-data php occ app_api:app:unregister ui_example --silent --force || true
54- docker exec master-stable27-1 rm -rf /tmp/ui_example_l10n && docker cp l10n master-stable27-1:/tmp/ui_example_l10n
55- docker exec master-stable27-1 sudo -u www-data php occ app_api:app:register ui_example manual_install --json-info \
56- "{\"id\" :\"ui_example\",\"name\":\"UI Example\",\"daemon_config_name\":\"manual_install\",\"version\":\"1.0.0\",\"secret\":\"12345\",\"port\":9035,\"scopes\":[],\"system_app\":0, \"translations_folder\":\"\/tmp\/ui_example_l10n\"}" \
57- --force-scopes --wait-finish
58-
5951.PHONY : register28
6052register28 :
6153 docker exec master-stable28-1 sudo -u www-data php occ app_api:app:unregister ui_example --silent --force || true
6254 docker exec master-stable28-1 rm -rf /tmp/ui_example_l10n && docker cp l10n master-stable28-1:/tmp/ui_example_l10n
6355 docker exec master-stable28-1 sudo -u www-data php occ app_api:app:register ui_example manual_install --json-info \
64- "{\"id\" :\"ui_example\",\"name\":\"UI Example\",\"daemon_config_name\":\"manual_install\",\"version\":\"1.0.0\",\"secret\":\"12345\",\"port\":9035,\"scopes\":[],\"system_app\":0, \"translations_folder\":\"\/tmp\/ui_example_l10n\"}" \
56+ "{\"id\" :\"ui_example\",\"name\":\"UI Example\",\"daemon_config_name\":\"manual_install\",\"version\":\"1.0.0\",\"secret\":\"12345\",\"port\":9035,\"scopes\":[\"OCC_COMMAND\", \"NOTIFICATIONS\"],\"system_app\":0, \"translations_folder\":\"\/tmp\/ui_example_l10n\"}" \
57+ --force-scopes --wait-finish
58+
59+ .PHONY : register29
60+ register29 :
61+ docker exec master-stable29-1 sudo -u www-data php occ app_api:app:unregister ui_example --silent --force || true
62+ docker exec master-stable29-1 rm -rf /tmp/ui_example_l10n && docker cp l10n master-stable29-1:/tmp/ui_example_l10n
63+ docker exec master-stable29-1 sudo -u www-data php occ app_api:app:register ui_example manual_install --json-info \
64+ "{\"id\" :\"ui_example\",\"name\":\"UI Example\",\"daemon_config_name\":\"manual_install\",\"version\":\"1.0.0\",\"secret\":\"12345\",\"port\":9035,\"scopes\":[\"OCC_COMMAND\", \"NOTIFICATIONS\"],\"system_app\":0, \"translations_folder\":\"\/tmp\/ui_example_l10n\"}" \
6565 --force-scopes --wait-finish
6666
6767.PHONY : register
6868register :
6969 docker exec master-nextcloud-1 sudo -u www-data php occ app_api:app:unregister ui_example --silent --force || true
7070 docker exec master-nextcloud-1 rm -rf /tmp/ui_example_l10n && docker cp l10n master-nextcloud-1:/tmp/ui_example_l10n
7171 docker exec master-nextcloud-1 sudo -u www-data php occ app_api:app:register ui_example manual_install --json-info \
72- "{\"id\" :\"ui_example\",\"name\":\"UI Example\",\"daemon_config_name\":\"manual_install\",\"version\":\"1.0.0\",\"secret\":\"12345\",\"port\":9035,\"scopes\":[\"NOTIFICATIONS\"],\"system_app\":0, \"translations_folder\":\"\/tmp\/ui_example_l10n\"}" \
72+ "{\"id\" :\"ui_example\",\"name\":\"UI Example\",\"daemon_config_name\":\"manual_install\",\"version\":\"1.0.0\",\"secret\":\"12345\",\"port\":9035,\"scopes\":[\"OCC_COMMAND\", \" NOTIFICATIONS\"],\"system_app\":0, \"translations_folder\":\"\/tmp\/ui_example_l10n\"}" \
7373 --force-scopes --wait-finish
7474
7575.PHONY : translation_templates
0 commit comments