Difference between revisions of "TinyERP"
(→Current Situation) |
(→See also) |
||
Line 47: | Line 47: | ||
== See also == | == See also == | ||
− | *http://tinyerp.org/wiki/index.php/TinyBookEN/MEOInstallLinux | + | *[http://tinyerp.org/wiki/index.php/TinyBookEN/HomePage TinyERP Online Book] |
+ | *[http://tinyerp.org/wiki/index.php/UserManual/HomePage User Manual] | ||
+ | *[http://tinyerp.org/wiki/index.php/TechnicalDocumentation/HomePage Tech Docs] | ||
+ | *[http://tinyerp.org/wiki/index.php/TinyBookEN/MEOInstallLinux More on Linux Installation] | ||
+ | *[http://tinyerp.org/wiki/index.php/UserFAQ/HomePage User FAQ] | ||
+ | *[http://tinyerp.org/wiki/index.php/Main/NovicesDev Writing Modules] | ||
+ | *[http://tinyerp.org/wiki/index.php/MinutesCustom/HomePage 20 Minute Customisation Example] |
Revision as of 12:45, 4 August 2007
First install TinyERP and Postgres from root user,
apt-get install tinyerp-server apt-get install postgresql postgresql-client apt-get install python2.4 python2.4-psycopg python2.4-libxml2 python2.4-xml python2.4-libxslt1 python-reportlab python2.4-imaging python-pyparsing graphviz python-tz
The Debian apt-get got postgres client and server sets up the postgres user and sets the data location up in a directory called main in the same location as the directory of the running binary. Set the password for the postgres user while still logged in as root. The postgres data location must be initialised first by logging back in as the postgres user and then initialise the data directory (see pgdocs), eg:
/usr/lib/postgresql/7.4/bin/initdb -D /usr/lib/postgresql/7.4/main /etc/init.d/postgresql-7.4 restart
If this succeeds you can create the tinyerp db and user as follows (see SetupAPostgresqlUserAndDatabase). This operation must still be done from the postgres user.
createuser -U postgres --no-createdb --no-adduser -P terp createdb -U postgres -O terp --encoding=UNICODE terp-no-createdb --no-adduser -P terp
TinyERP should now be able to run, try restarting it with the following:
/etc/init.d/tinyerp-server restart
Setting up for Web Access
apt-get install python2.4-setuptools python-turbogears apt-get install build-essential apt-get install python2.4-dev apt-get install python2.4-numeric apt-get install python2.4-numeric-ext apt-get install libfreetype6-dev apt-get install libpng12-dev apt-get install python-matplotlib apt-get install python-numpy
Download the latest eTiny extract to a dir like /var/www/eTiny-0.0.1, set the configuration in eTiny-0.0.1/tinyerp/config/app.cfg to:
tiny.server = "localhost" tiny.port = 8070 tiny.protocol = "http"
Run the eTiny-1.0.0/start-tinyerp.py script (needs to be manually added to /etc/init.d.
Current Situation
It's all installed and its http server is able to run, but there's not enough resource for Apache to work at the same time. It serves on port 8080, but currently crashes with a bunch of python errors. --Nad 23:09, 4 August 2007 (NZST)