~cypheon/nextcloud-chores

Nextcloud App to Manage Chores

#7 Chores does not install

~menelic commented on nextcloud-chores todo

30 days ago

#7 Chores does not install

~menelic filed ticket on nextcloud-chores todo

30 days 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

#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

#Publish a Release to App Store

tools/release.sh

This script will output a URL for the tar.gz file and the signature in the correct format for copy-pasting into https://apps.nextcloud.com/developer/apps/releases/new