Changes between Initial Version and Version 1 of ThirdParty


Ignore:
Timestamp:
09/23/2008 01:25:37 AM (9 years ago)
Author:
trac
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ThirdParty

    v1 v1  
     1{{{ 
     2#!rst 
     3Installing a third party application 
     4==================================== 
     5 
     6This document describes how to deploy an application on the Nagare framework 
     7 
     8Prerequisites 
     9------------- 
     10 
     11The Nagare framework must be installed as explained in :wiki:`NagareInstallation`. 
     12 
     13Installing the application 
     14-------------------------- 
     15 
     16If the application is available on the `PyPi <http://pypi.python.org>`_, use 
     17the command: 
     18 
     19  .. code-block:: sh 
     20   
     21     <NAGARE_HOME>/bin/easy_install <application> 
     22      
     23else, retrieve the application archive or egg and install it with: 
     24 
     25  .. code-block:: sh 
     26   
     27     <NAGARE_HOME>/bin/easy_install <path/to/the/archive> 
     28 
     29To check the application is correctly registered to Nagare, enter: 
     30 
     31  .. code-block:: sh 
     32   
     33     <NAGARE_HOME>/bin/nagare-admin serve 
     34      
     35which lists all the registered applications. 
     36 
     37The application is installed in is own directory under 
     38``<NAGARE_HOME>/lib/python2.5/site-packages`` 
     39 
     40Serving the application 
     41----------------------- 
     42 
     43Check, in the ``conf`` directory of the application that the parameters of 
     44the configuration file are correct for your environment. For example, check 
     45that the database URI is correct if the application uses a database.  
     46 
     47If the application uses a database, create the database tables: 
     48 
     49  .. code-block:: sh 
     50   
     51     <NAGARE_HOME>/bin/nagare-admin create-db <application> 
     52 
     53Then, the application is launched with: 
     54 
     55  .. code-block:: sh 
     56        
     57     <NAGARE_HOME>/bin/nagare-admin serve <application> 
     58 
     59To know how to configure an application, consult the 
     60:wiki:`ApplicationConfiguration` guide. 
     61 
     62To change the way the application is published, consult the 
     63:wiki:`PublisherConfiguration` guide.  
     64 
     65.. wikiname: ThirdParty 
     66}}}