99 @echo " "
1010 @echo " build-push build image and upload to ghcr.io"
1111 @echo " "
12- @echo " run27 install ToGif for Nextcloud 27"
1312 @echo " run28 install ToGif for Nextcloud 28"
1413 @echo " run install ToGif for Nextcloud Last"
1514 @echo " "
1615 @echo " For development of this example use PyCharm run configurations. Development is always set for last Nextcloud."
1716 @echo " First run 'ToGif' and then 'make registerXX', after that you can use/debug/develop it and easy test."
1817 @echo " "
19- @echo " register27 perform registration of running 'to_gif' into the 'manual_install' deploy daemon."
2018 @echo " register28 perform registration of running 'to_gif' into the 'manual_install' deploy daemon."
2119 @echo " register perform registration of running 'to_gif' into the 'manual_install' deploy daemon."
2220
@@ -25,12 +23,6 @@ build-push:
2523 docker login ghcr.io
2624 docker buildx build --push --platform linux/arm64/v8,linux/amd64 --tag ghcr.io/cloud-py-api/to_gif:latest .
2725
28- .PHONY : run27
29- run27 :
30- docker exec master-stable27-1 sudo -u www-data php occ app_api:app:unregister to_gif --silent --force || true
31- docker exec master-stable27-1 sudo -u www-data php occ app_api:app:register to_gif --force-scopes \
32- --info-xml https://raw.githubusercontent.com/cloud-py-api/nc_py_api/main/examples/as_app/to_gif/appinfo/info.xml
33-
3426.PHONY : run28
3527run28 :
3628 docker exec master-stable28-1 sudo -u www-data php occ app_api:app:unregister to_gif --silent --force || true
4335 docker exec master-nextcloud-1 sudo -u www-data php occ app_api:app:register to_gif --force-scopes \
4436 --info-xml https://raw.githubusercontent.com/cloud-py-api/nc_py_api/main/examples/as_app/to_gif/appinfo/info.xml
4537
46- .PHONY : register27
47- register27 :
48- docker exec master-stable27-1 sudo -u www-data php occ app_api:app:unregister to_gif --silent --force || true
49- docker exec master-stable27-1 sudo -u www-data php occ app_api:app:register to_gif manual_install --json-info \
50- "{\"id\" :\"to_gif\",\"name\":\"to_gif\",\"daemon_config_name\":\"manual_install\",\"version\":\"1.0.0\",\"secret\":\"12345\",\"port\":9031,\"scopes\":[\"FILES\", \"NOTIFICATIONS\"],\"system\":0}" \
51- --force-scopes --wait-finish
52-
5338.PHONY : register28
5439register28 :
5540 docker exec master-stable28-1 sudo -u www-data php occ app_api:app:unregister to_gif --silent --force || true
5641 docker exec master-stable28-1 sudo -u www-data php occ app_api:app:register to_gif manual_install --json-info \
57- "{\"id\" :\"to_gif\",\"name\":\"to_gif\",\"daemon_config_name\":\"manual_install\",\"version\":\"1.0.0\",\"secret\":\"12345\",\"port\":9031,\"scopes\":[\"FILES\", \"NOTIFICATIONS\"],\"system\":0 }" \
42+ "{\"id\" :\"to_gif\",\"name\":\"to_gif\",\"daemon_config_name\":\"manual_install\",\"version\":\"1.0.0\",\"secret\":\"12345\",\"port\":9031,\"scopes\":[\"FILES\", \"NOTIFICATIONS\"]}" \
5843 --force-scopes --wait-finish
5944
6045.PHONY : register
6146register :
6247 docker exec master-nextcloud-1 sudo -u www-data php occ app_api:app:unregister to_gif --silent --force || true
6348 docker exec master-nextcloud-1 sudo -u www-data php occ app_api:app:register to_gif manual_install --json-info \
64- "{\"id\" :\"to_gif\",\"name\":\"to_gif\",\"daemon_config_name\":\"manual_install\",\"version\":\"1.0.0\",\"secret\":\"12345\",\"port\":9031,\"scopes\":[\"FILES\", \"NOTIFICATIONS\"],\"system\":0 }" \
49+ "{\"id\" :\"to_gif\",\"name\":\"to_gif\",\"daemon_config_name\":\"manual_install\",\"version\":\"1.0.0\",\"secret\":\"12345\",\"port\":9031,\"scopes\":[\"FILES\", \"NOTIFICATIONS\"]}" \
6550 --force-scopes --wait-finish
0 commit comments