|
InstallationFreeBSD
How to install Tryton server on FreeBSD
Installing the ClientCurrently the Tryton client is not part of the FreeBSD ports collection. Installing the ServerThe server trytond is part of the FreeBSD ports collection. Installing it via ports will give you the advantage of resolving and installing all dependencies, but leaves you without tryton modules (and their dependencies). To get full advantage of Tryton several extra steps are recommended: DatabasePostreSQL ServerPostgreSQL database may run on the same or another machine. Installation for FreeBSD is described here. PostreSQL ClientInstall the PostgreSQL client version corresponding to your server via ports collection before installing trytond. SQLiteSQLite support is new since version 1.4 of tryton and can be installed equivalent. trytondportupgrade will come in handy, so make sure it is installed. cd /usr/ports/ports-mgmt/portupgrade make install rehash
portinstall trytond pkg_deinstall trytond pkg_deinstall py26-openssl portinstall mercurial mkdir -p ~/workspace/tryton/dev/disabled_modules mkdir -p ~/workspace/tryton/1.4/disabled_modules chmod +x ~/workspace/tryton-dev.py cd ~/workspace/tryton/dev ~/workspace/tryton-get.py easy_install BeautifulSoup easy_install vobject easy_install pyWebDav easy_install -U pyWebDav easy_install pyOpenSSL easy_install vatnumber portinstall py26-soappy Since i did not manage to install python ldap i moved these modules away for now (help welcome).mv trytond/trytond/modules/*ldap* disabled_modules
cd ~/workspace/tryton/1.4 ~/workspace/tryton-get --branch 1.4 easy_install BeautifulSoup easy_install vobject easy_install pyWebDav easy_install -U pyWebDav easy_install pyOpenSSL easy_install vatnumber portinstall py26-soappy mv trytond/trytond/modules/*ldap* disabled_modules Initial configuration and server start
cp ~workspace/tryton/dev/trytond/etc/trytond.conf /usr/local/etc/trytond/trytond.conf db_type = postgresql db_user = trytondbuser admin_passwd = secretadminpassword ~/workspace/tryton/dev/trytond/bin/trytond |
Sign in to add a comment