Trace: • applications
Chapter: Installare un'applicazione
« Installare Jelix | ^ Installazione | Installazione su un server di produzione » |
This is an old revision of the document!
Table of Contents
Una applicazione è disponibile per il download: TestApp. E' una applicazione che contiene alcuni esempi e unità di test per Jelix (utili per gli sviluppatori di Jelix).
Prenderemo come esempio il programma TestApp, ma le spiegazioni sono valide per ogni applicazione basata su Jelix.
Installare i file di una applicazione ¶
Estrazione dei file ¶
When the testapp archive is decompressed , you get the following directories :
testapp/ application directory modules/ modules of the application responses/ common responses for the application plugins/ plugins of the application var/ contain all the files created or that can be modified by Jelix during execution config/ configuration files of the application log/ log files of jelix and of the application www/ root of the site of the application (document root)
Copy this directory in the mysite/
directory. You then have:
mysite/ lib/ temp/ testapp/
The tree structure of the sources is by default organized in order to install the application on a server on which you can specify the public root directory of the site (document root). This directory is mysite/testapp/www
.
You will of course be able to change the place of these directories if, for example, you cannot change the document root. We will see how to do this further.
You will notice that the files of the application and those of the framework are separated. This way, you can share the lib directory with several applications.
Configuration files renaming ¶
In testapp/var/config
, you have *.dist
files. Rename them by removing this '.dist' suffix. You have certainly some things to modify in this new files, like database configuration in dbprofils.ini
etc.
Creating the temporary directory ¶
Create the mysite/temp/testapp
directory. Perhaps your application contains different *.init.php
files, similar to the application.init.php
, but declaring differents temporary folders. So create the corresponding folders.
Configuring the application ¶
See the correspondant chapter.