Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/splitt3r/nextcloud-dotnet-microservice
.NET Microservice example for Nextcloud (https://github.com/cloud-py-api/app_api). This is only a playground.
https://github.com/splitt3r/nextcloud-dotnet-microservice
dotnet nextcloud nextcloud-app
Last synced: about 1 month ago
JSON representation
.NET Microservice example for Nextcloud (https://github.com/cloud-py-api/app_api). This is only a playground.
- Host: GitHub
- URL: https://github.com/splitt3r/nextcloud-dotnet-microservice
- Owner: splitt3r
- License: mit
- Created: 2024-01-02T14:24:08.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-09-23T04:24:04.000Z (about 2 months ago)
- Last Synced: 2024-09-27T06:20:16.321Z (about 2 months ago)
- Topics: dotnet, nextcloud, nextcloud-app
- Language: Vue
- Homepage:
- Size: 283 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# .NET Microservice Nextcloud app demo
## General dev setup
- Run bash e.g. WSL not PowerShell! Some strange quote problems and execute the following steps
- `docker exec -it --user www-data nextcloud php occ config:system:set loglevel --value=0`
- `docker exec -it --user www-data nextcloud php occ app:install app_api`
- Now you need to create the manual_install daemon via UI (e. g. http://localhost:8080/settings/admin/app_api, host=host.docker.internal)
- Set the shared secret in the `docker-compose.yml` file via `Nextcloud__Secret` env var and use the same for the next cmd### Register the app via local daemon
- `docker exec -it --user www-data nextcloud php occ app_api:app:register --force-scopes --wait-finish --json-info "{\"appid\":\"dotnet_microservice\",\"name\":\".NET Microservice\",\"daemon_config_name\":\"manual_install\",\"version\":\"1.0.0\",\"secret\":\"12345\",\"port\":8080,\"scopes\":[\"FILES\"],\"system_app\":0}" dotnet_microservice manual_install`
### Register the app via local daemon with Visual Studio debugger attached
- `docker exec -it --user www-data nextcloud php occ app_api:app:register --force-scopes --wait-finish --json-info "{\"appid\":\"dotnet_microservice\",\"name\":\".NET Microservice\",\"daemon_config_name\":\"manual_install\",\"version\":\"1.0.0\",\"secret\":\"12345\",\"port\":5047,\"scopes\":[\"FILES\"],\"system_app\":0}" dotnet_microservice manual_install`