|
InstallationMercurial
Installation from DSCM Mercurial
IntroductionThis page describes the installation process of Tryton from scratch. Mercurial is the distributed source control management system (DSCM) used by the Tryton project. The repository layout for the Tryton project is divided into
You need to install Mercurial before you can follow this instructions. InstallationThe installation of Tryton is divided in four parts, following the three-tier architecture of Tryton
In a development or testing installation we strongly advise you to use a "Mercurial Forest" for easy maintainance on updating and testing (see section below: Updating Client, Server and Modules Repositories in one go ). Automatic Way
You must still install the dependencies of the client and the server, and the database Client InstallationThis section describes the installation process for tryton (the client application)
mkdir ~/workspace/tryton-dist cd ~/workspace/tryton-dist hg clone http://hg.tryton.org/tryton/ Server and Modules InstallationThis section describes the installation process for the trytond server application and the modules.
mkdir ~/workspace/tryton-dist cd ~/workspace/tryton-dist
hg clone http://hg.tryton.org/trytond/
mkdir trytond/trytond/modules
cd trytond/trytond/modules hg clone http://hg.tryton.org/modules/account hg clone http://hg.tryton.org/modules/account_be hg clone http://hg.tryton.org/modules/account_invoice hg clone http://hg.tryton.org/modules/account_invoice_history hg clone http://hg.tryton.org/modules/account_product hg clone http://hg.tryton.org/modules/account_statement hg clone http://hg.tryton.org/modules/analytic_account hg clone http://hg.tryton.org/modules/analytic_invoice hg clone http://hg.tryton.org/modules/analytic_purchase hg clone http://hg.tryton.org/modules/analytic_sale hg clone http://hg.tryton.org/modules/company hg clone http://hg.tryton.org/modules/country hg clone http://hg.tryton.org/modules/currency hg clone http://hg.tryton.org/modules/google_maps hg clone http://hg.tryton.org/modules/party hg clone http://hg.tryton.org/modules/product hg clone http://hg.tryton.org/modules/project hg clone http://hg.tryton.org/modules/project_revenue hg clone http://hg.tryton.org/modules/purchase hg clone http://hg.tryton.org/modules/sale hg clone http://hg.tryton.org/modules/stock hg clone http://hg.tryton.org/modules/stock_supply hg clone http://hg.tryton.org/modules/timesheet # ... Updating Client, Server and Modules Repositories in one go (using hgforest)The Mercurial DSCM has an extension which makes it possible to maintain easily a bundle of repositories in a so called forest. With the installation of the Mercurial forest extension you are able to update all repositories with a single hg fpull and hg fupdate.
cd /usr/local/src/ sudo hg clone http://hg.akoha.org/hgforest/ cd ~/workspace/tryton-dist hg init echo -e "[extensions]\nforest=/usr/local/src/hgforest/forest.py" >> .hg/hgrc cd ~/workspace/tryton-dist hg fpull hg fupdate Hint for users working behind a proxy: Currently neither the tryton client nor the forest extension are able to connect via a http proxy. Instead they can be socksified and thus connect via socks server, i.e. tsocks hg fpull Installing Tryton on your favourite distributionWe strongly suggest you to use the installation packages provided by your distribution. For installation hints for your preferred distribution please refer to the additional pages below Database installationtrytond uses PostgreSQL as database engine. The PostgreSQL database may be installed on the same machine as the trytond server application, but it can be on any machine connected via TCP/IP network. Please refer to the appropriate documentation for installing PostgreSQL on your operating system or distribution. |
Sign in to add a comment