1717 @echo " For development of this example use PyCharm run configurations. Development is always set for last Nextcloud."
1818 @echo " First run 'ToGif' and then 'make manual_register', after that you can use/debug/develop it and easy test."
1919 @echo " "
20- @echo " manual_register perform registration of running 'to_gif' into the 'manual_install' deploy daemon."
20+ @echo " manual_register28 perform registration of running 'to_gif' into the 'manual_install' deploy daemon."
21+ @echo " manual_register27 perform registration of running 'to_gif' into the 'manual_install' deploy daemon."
2122
2223.PHONY : build-push
2324build-push :
@@ -35,15 +36,22 @@ run28:
3536 docker exec master-nextcloud-1 sudo -u www-data php occ app_ecosystem_v2:app:register to_gif docker_dev -e --force-scopes \
3637 --info-xml https://raw.githubusercontent.com/cloud-py-api/nc_py_api/main/examples/as_app/to_gif/appinfo/info.xml
3738
39+ .PHONY : manual_register28
40+ manual_register28 :
41+ docker exec master-nextcloud-1 sudo -u www-data php occ app_ecosystem_v2:app:unregister to_gif --silent || true
42+ docker exec master-nextcloud-1 sudo -u www-data php occ app_ecosystem_v2:app:register to_gif manual_install --json-info \
43+ "{\"appid\" :\"to_gif\",\"name\":\"to_gif\",\"daemon_config_name\":\"manual_install\",\"version\":\"1.0.0\",\"secret\":\"12345\",\"host\":\"host.docker.internal\",\"port\":9031,\"scopes\":{\"required\":[\"FILES\", \"NOTIFICATIONS\"],\"optional\":[]},\"protocol\":\"http\",\"system_app\":0}" \
44+ -e --force-scopes
45+
3846.PHONY : run27
3947run27 :
4048 docker exec master-stable27-1 sudo -u www-data php occ app_ecosystem_v2:app:unregister to_gif --silent || true
41- docker exec master-nextcloud -1 sudo -u www-data php occ app_ecosystem_v2:app:register to_gif docker_dev -e --force-scopes \
49+ docker exec master-stable27 -1 sudo -u www-data php occ app_ecosystem_v2:app:register to_gif docker_dev -e --force-scopes \
4250 --info-xml https://raw.githubusercontent.com/cloud-py-api/nc_py_api/main/examples/as_app/to_gif/appinfo/info.xml
4351
44- .PHONY : manual_register
45- manual_register :
46- docker exec master-nextcloud -1 sudo -u www-data php occ app_ecosystem_v2:app:unregister to_gif --silent || true
47- docker exec master-nextcloud -1 sudo -u www-data php occ app_ecosystem_v2:app:register to_gif manual_install --json-info \
48- "{\"appid\" :\"to_gif\",\"name\":\"to_gif\",\"daemon_config_name\":\"manual_install\",\"version\":\"1.0.0\",\"secret\":\"12345\",\"host\":\"host.docker.internal\",\"port\":9031,\"scopes\":{\"required\":[\"FILES\"],\"optional\":[\"NOTIFICATIONS\" ]},\"protocol\":\"http\",\"system_app\":0}" \
52+ .PHONY : manual_register27
53+ manual_register27 :
54+ docker exec master-stable27 -1 sudo -u www-data php occ app_ecosystem_v2:app:unregister to_gif --silent || true
55+ docker exec master-stable27 -1 sudo -u www-data php occ app_ecosystem_v2:app:register to_gif manual_install --json-info \
56+ "{\"appid\" :\"to_gif\",\"name\":\"to_gif\",\"daemon_config_name\":\"manual_install\",\"version\":\"1.0.0\",\"secret\":\"12345\",\"host\":\"host.docker.internal\",\"port\":9031,\"scopes\":{\"required\":[\"FILES\", \"NOTIFICATIONS\"],\"optional\":[ ]},\"protocol\":\"http\",\"system_app\":0}" \
4957 -e --force-scopes
0 commit comments