~cypheon/nextcloud-chores-app

ref: d19a6603c01e63c7545582e5ff313ef4aec0bf9f nextcloud-chores-app/README.md -rw-r--r-- 1.1 KiB
d19a6603 — Johann Rudloff Make overdue sidebar badge dynamic, switch badges to `CounterBubble` component 4 months ago

#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