diff --git a/doc/INSTALL b/doc/INSTALL index a1814d26203..8821fb71707 100644 --- a/doc/INSTALL +++ b/doc/INSTALL @@ -18,14 +18,14 @@ You need the following software installed: Some dependencies are only required for specific purposes: for rendering workflows graphs, you need: - - * graphviz - * pyparsing + + * graphviz + * pyparsing for generating reports using non .jpg images, you need: - * Python Imaging Library for python2.3 - + * Python Imaging Library for python2.3 + For Debian-based distributions, the required packages can be installed with the following commands: @@ -61,35 +61,8 @@ Installation Steps 1. Check that all the required dependencies are installed. -2. Create a postgresql database. +2. Launch the program "python ./bin/tinyerp_server.py -r db_user -w db_password -db_host 127.0.0.1". +See the man page for more information about options. -The default database name is "terp". If you want to use another name, you -will need to provide it when launching the server (by using the commandline -option --database). - -To create a postgresql database named "terp" using the following command: - $ createdb --encoding=UNICODE terp - -If it is the first time you use postgresql you might need to create a new user -to the postgres system using the following commands (where myusername is your -unix user name): - - $ su - - # su - postgres - $ createuser myusername - Shall the new user be allowed to create databases? (y/n) y - Shall the new user be allowed to create more new users? (y/n) y - CREATE USER - $ logout - # logout - -3. Launch the program "./terp_server.py". - -The first time it is run, the server will initialise the database with all the default values. - -4. Connect to the server using the GUI client. - -There are two accounts by default: - * login: admin, password:admin - * login: demo, password:demo +3. Connect to the server using the GUI client. And follow the instructions to create a new database.