Nextcloud-App/README.md

31 lines
1.3 KiB
Markdown
Raw Normal View History

# UPschooling
2021-08-21 10:58:00 +00:00
Place this app in **nextcloud/apps/**
2021-08-21 10:58:00 +00:00
[![PHPUnit GitHub Action](https://github.com/nextcloud/app-tutorial/workflows/PHPUnit/badge.svg)](https://github.com/nextcloud/app-tutorial/actions?query=workflow%3APHPUnit)
[![Node GitHub Action](https://github.com/nextcloud/app-tutorial/workflows/Node/badge.svg)](https://github.com/nextcloud/app-tutorial/actions?query=workflow%3ANode)
[![Lint GitHub Action](https://github.com/nextcloud/app-tutorial/workflows/Lint/badge.svg)](https://github.com/nextcloud/app-tutorial/actions?query=workflow%3ALint)
2021-08-21 10:58:00 +00:00
This is the [tutorial app](https://docs.nextcloud.com/server/latest/developer_manual/app_development/tutorial.html) which shows how to develop a very simple notes app.
2021-08-21 10:58:00 +00:00
## Installing dependencies
2021-08-21 10:58:00 +00:00
make composer
2021-08-21 10:58:00 +00:00
## Frontend development
2021-08-21 10:58:00 +00:00
The app tutorial also shows the very basic implementation of an app frontend using [Vue.js](https://vuejs.org/). To build the frontend code after doing changes to its source in `src/` requires to have Node and npm installed.
2021-08-21 10:58:00 +00:00
- 👩‍💻 Run `make dev-setup` to install the frontend dependencies
- 🏗 To build the Javascript whenever you make changes, run `make build-js`
2021-08-21 10:58:00 +00:00
To continuously run the build when editing source files you can make use of the `make watch-js` command.