~cypheon/nextcloud-chores-app

Nextcloud App to Manage Chores
d19a6603 — Johann Rudloff 8 days ago
Make overdue sidebar badge dynamic, switch badges to `CounterBubble` component
0ca1f3b0 — Johann Rudloff 8 days ago
Update @nextcloud/vue to version 4.0.3
5fff2047 — Johann Rudloff 8 days ago
Extract some chore filtering logic

clone

read-only
https://git.sr.ht/~cypheon/nextcloud-chores-app
read/write
git@git.sr.ht:~cypheon/nextcloud-chores-app

You can also use your local clone with git send-email.

#Chores

Place this app in nextcloud/apps/

#Building the app

The app can be built by using the provided Makefile by running:

make

This requires the following things to be present:

  • make
  • composer
  • npm: for building and testing everything JS
  • tar: for building the archive

#Publish to App Store

First get an account for the App Store then run:

make && make appstore

The archive is located in build/artifacts/appstore and can then be uploaded to the App Store.

#Running tests

You can use the provided Makefile to run all tests by using:

make test

Of course you can also install PHPUnit and use the configurations directly:

phpunit -c phpunit.xml

or:

phpunit -c phpunit.integration.xml

for integration tests

#Vue.js Frontend Development

#Project setup

npm install

#Compiles and hot-reloads for development

Configure your local Nextcloud URL in vue.config.js:

const NEXTCLOUD_URL = 'http://localhost:8000/';

And then launch the Webpack dev server:

npm run serve

#Lints and fixes files

npm run lint