mirror of
https://github.com/nextcloud/documentation.git
synced 2026-01-04 02:36:49 +07:00
rename tutorial in create an app
This commit is contained in:
@@ -1,33 +0,0 @@
|
||||
========
|
||||
Tutorial
|
||||
========
|
||||
|
||||
.. sectionauthor:: Bernhard Posselt <dev@bernhard-posselt.com>
|
||||
|
||||
After :doc:`you've set up the development environment and installed the dev tool <../general/devenv>` change into the ownCloud apps directory::
|
||||
|
||||
cd /var/www/core/apps
|
||||
|
||||
Then run::
|
||||
|
||||
ocdev startapp MyApp --mail mail@example.com --author "Your Name" --description "My first app" --owncloud 7
|
||||
|
||||
This will create all the needed files in the current directory. For more information on how to customize the generated app, see the `Project's GitHub page <https://github.com/Raydiation/ocdev>`_ or run::
|
||||
|
||||
ocdev startapp -h
|
||||
|
||||
Enable the app
|
||||
--------------
|
||||
The app can now be enabled on the ownCloud apps page
|
||||
|
||||
App architecture
|
||||
----------------
|
||||
The following directories have now been created:
|
||||
|
||||
* **appinfo/**: Contains app metadata and configuration
|
||||
* **controller/**: Contains the controllers
|
||||
* **css/**: Contains the CSS
|
||||
* **js/**: Contains the JavaScript files
|
||||
* **templates/**: Contains the templates
|
||||
* **tests/**: Contains the tests
|
||||
|
||||
Reference in New Issue
Block a user