Files
nextcloud-docs/developer_manual/app/startapp.rst
Daniel Calviño Sánchez d18a61c515 Fix style-related punctuation
Based on the style that can be inferred from the current documentation,
paragraphs should end in periods, except when followed by lists or
examples in which case they should end in colons; list items should not
use an ending period, except when the list items act themselves as
paragraphs.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2017-05-10 00:40:46 +02:00

27 lines
783 B
ReStructuredText

=============
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
* **js/**: Contains the JavaScript files
* **lib/**: Contains the PHP class files of your app
* **templates/**: Contains the templates
* **tests/**: Contains the tests