Nextcloud-App/README.md
Ben 23e4f0c974
Fix run script, replace registration secret
add watch-js to README.md to start the dev environment.
2021-10-09 19:04:23 +02:00

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.