Changeset 1047 in main


Ignore:
Timestamp:
04/26/12 10:05:45 (7 years ago)
Author:
pcosquer
Message:

docs: admin: rewrite the section "create the database"

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/docs/admin/ht_1_install_server.rst

    r1045 r1047  
    166166=================== 
    167167 
     168Edit the file :file:`/var/django/openPLM/trunk/openPLM/settings.py` and set correct password ('MyPassword') 
     169for DATABASE_PASSWORD. 
     170It must be the one set with the command ``create role django with password 'MyPassword' login;`` 
     171Here the DATABASE_USER is ``django``, not the Django admin created by 
     172``./manage.py syncdb --all``. 
     173 
     174Then execute the following commands: 
     175 
    168176    * ``cd /var/django/openPLM/trunk/openPLM/`` 
    169177    * ``./manage.py syncdb --all`` 
     
    171179     
    172180    .. note:: 
    173         You have to create the superadmin user for Django (in this example, we give 'MyAdmin' but you can change it) 
    174         and its password. 
    175      
    176     .. warning:: 
    177         Edit the '/var/django/openPLM/trunk/openPLM/settings.py' and set correct password ('MyPassword') 
    178         for DATABASE_PASSWORD 
     181        You have to create the superadmin user for Django and a special user named 'company'. 
     182        The company can access all contents from openPLM and should sponsor other users. 
     183        The admin is here to administrate openPLM via its admin interface. 
     184 
     185 
    179186 
    180187Compile message files 
Note: See TracChangeset for help on using the changeset viewer.