Nextcloud-App/README.md

1.6 KiB

UPschooling

Place this app in nextcloud/apps/

PHPUnit GitHub Action Node GitHub Action Lint GitHub Action

This is the tutorial app which shows how to develop a very simple notes app.

Development

Docker or Podman is required for the dev environment. Other than that composer and npm/nodejs must be installed.

Mac OS

brew install coreutils

All

npm install
make

Start dev environment

Starting the development environment with your container runtime should be as easy as

./run.sh
make watch-js

Frontend development

The app tutorial also shows the very basic implementation of an app frontend using Vue.js. To build the frontend code after doing changes to its source in src/ requires to have Node and npm installed.

  • 👩‍💻 Run make dev-setup to install the frontend dependencies
  • 🏗 To build the Javascript whenever you make changes, run make build-js

To continuously run the build when editing source files you can make use of the make watch-js command.