Skip to content

Commit

Permalink
dev: making a parallel dev version
Browse files Browse the repository at this point in the history
Signed-off-by: Alexander Piskun <[email protected]>
  • Loading branch information
bigcat88 committed Aug 8, 2024
1 parent f335067 commit 1183ba7
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 4 deletions.
7 changes: 3 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,9 @@ run:

.PHONY: run-dev
run-dev:
docker exec master-nextcloud-1 sudo -u www-data php occ app_api:app:unregister windmill_app --silent --force || true
docker exec master-nextcloud-1 sudo -u www-data php occ app_api:app:register windmill_app --json-info \
"{\"id\":\"windmill_app\",\"name\":\"Workflow Engine\",\"version\":\"1.0.0\",\"docker-install\":{\"registry\":\"ghcr.io\", \"image\":\"cloud-py-api/windmill_app\", \"image-tag\":\"latest\"},\"scopes\":[\"ALL\"]}" \
--force-scopes --wait-finish
docker exec master-nextcloud-1 sudo -u www-data php occ app_api:app:unregister windmill_app --silent --force --keep-data || true
docker exec master-nextcloud-1 sudo -u www-data php occ app_api:app:register windmill_app --force-scopes \
--info-xml https://raw.githubusercontent.com/cloud-py-api/windmill_app/main/appinfo/info-dev.xml

.PHONY: register
register:
Expand Down
46 changes: 46 additions & 0 deletions appinfo/info-dev.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
<?xml version="1.0"?>
<info>
<id>windmill_app</id>
<name>Workflow Engine</name>
<summary>Nextcloud Workflow Engine</summary>
<description>
<![CDATA[Simplest skeleton of the Nextcloud application written in python]]>
</description>
<version>1.0.0</version>
<licence>MIT</licence>
<author mail="[email protected]" homepage="https://github.com/julien-nc">Julien Veyssier</author>
<author mail="[email protected]" homepage="https://github.com/marcelklehr">Marcel Klehr</author>
<author mail="[email protected]" homepage="https://github.com/bigcat88">Alexander Piskun</author>
<namespace>PyAppV2_windmill</namespace>
<category>tools</category>
<website>https://github.com/cloud-py-api/windmill_app</website>
<bugs>https://github.com/cloud-py-api/windmill_app/issues</bugs>
<repository type="git">https://github.com/cloud-py-api/windmill_app</repository>
<dependencies>
<nextcloud min-version="30" max-version="30"/>
</dependencies>
<external-app>
<docker-install>
<registry>ghcr.io</registry>
<image>cloud-py-api/windmill_app</image>
<image-tag>latest</image-tag>
</docker-install>
<scopes>
<value>ALL</value>
</scopes>
<routes>
<route>
<url>^api\/w\/nextcloud\/jobs\/.*</url>
<verb>GET,POST,PUT,DELETE</verb>
<access_level>PUBLIC</access_level>
<headers_to_exclude>[]</headers_to_exclude>
</route>
<route>
<url>.*</url>
<verb>GET,POST,PUT,DELETE</verb>
<access_level>ADMIN</access_level>
<headers_to_exclude>[]</headers_to_exclude>
</route>
</routes>
</external-app>
</info>

0 comments on commit 1183ba7

Please sign in to comment.