more clarifications

This commit is contained in:
Bernhard Posselt
2013-02-08 23:17:09 +01:00
parent 4f6bc8b382
commit aacae5df07
2 changed files with 8 additions and 7 deletions

View File

@@ -85,18 +85,18 @@ Now change into your app directory::
Modfiy Advanced Apptemplate
---------------------------
Certain things are still apptemplate specific and you will have to convert them to match your app.
.. todo::
Provide some sed commands for simple transformation
You will want to replace the boilerplate code in the Apptemplate.
The following things will need to be changed:
* In every file: AGPL Headers
* In every file: **namespace OCA\\AppTemplateAdvanced** to **namespace OCA\\YourAppName**
* :file:`dependencyinjection/dicontainer.php`: The **parent::__construct('apptemplateadvanced')** to **parent::__construct('yourappname')**
* :file:`appinfo/info.xml`: Your data
* :file:`appinfo/info.xml`: :ref:`your personal settings <xml>`
* :file:`appinfo/app.php`: the correct navigation settings
* :file:`appinfo/routes.php`: the name of the routes
* :file:`coffee/app.coffee`: the route names
.. todo::
Provide some sed commands for simple transformation

View File

@@ -37,6 +37,8 @@ You'll need to give some information on your app for instance the name. To do th
?>
.. _xml:
The second place where app specifc information is stored is in :file:`appinfo/info.xml`
.. code-block:: xml
@@ -50,7 +52,6 @@ The second place where app specifc information is stored is in :file:`appinfo/in
<licence>AGPL</licence>
<author>Your Name</author>
<require>4</require>
<standalone/>
<types>
<filesystem/>
</types>