Files
nextcloud-docs/developer_manual/app/intro.rst
John Molakvoæ (skjnldsv) 617fd0c398 Cleanup structure and duplicate outdated docs
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-11-28 10:58:57 +01:00

31 lines
902 B
ReStructuredText

============
Introduction
============
Create an app
-------------
.. sectionauthor:: Bernhard Posselt <dev@bernhard-posselt.com>
After :doc:`you've set up the development environment <../general/devenv>` change into the Nextcloud apps directory::
cd /var/www/nextcloud/apps
Then create a skeleton app in the `app store <https://apps.nextcloud.com/developer/apps/generate>`_.
Enable the app
--------------
The app can now be enabled on the Nextcloud apps page.
App architecture
----------------
The following directories have now been created:
* **appinfo/**: Contains app metadata and configuration
* **css/**: Contains the CSS
* **img/**: Contains icons and images
* **js/**: Contains the JavaScript files
* **lib/**: Contains the PHP class files of your app
* **src/**: Contains the source code of your vue.js app
* **templates/**: Contains the templates
* **tests/**: Contains the tests