User Tools

Site Tools



This shows you the differences between two versions of the page.

Link to this comparison view

educare:opendocman [2018/04/25 07:55]
educare:opendocman [2020/06/08 22:20] (current)
Line 1: Line 1:
 +=== Installare OpenDocMan===
 +ATTENZIONE: alcune parti della configurazione NON sono nel file //config.php//, ma nel DATABASE!
 +L'unico modo per installarlo è stato quello di leggere la pagina dei bug 
 +e correggere a mano il contenuto della tabella "odm_settings"
 +La pagina di installazione automatica dice questo: {{:educare:opendocman-setup.pdf|}}
 +Poiche' non funziona NULLA, bisogna procedere a mano.
 +  - creare un database vuoto in phpmyadmin e importare il file database.sql
 +  - modificare la tabella "odm_settings" come segue (si può importare come csv)
 +  - entrare come admin senza password e modificare a password.
 +  - **nota** : la seguente configurazione funziona su altervista...
 +<file csv>
 +"1","debug","False","(True/False) - Default=False - Debug the installation (not working)","bool"
 +"2","demo","False","(True/False) This setting is for a demo installation, where random people will be all loggging in as the same username/password like ""demo/demo"". This will keep users from removing files, users, etc.","bool"
 +"3","authen","mysql","(Default = mysql) Currently only MySQL authentication is supported",
 +"4","title","Document Repository","This is the browser window title","maxsize=255"
 +"5","site_mail","","The email address of the administrator of this site","email|maxsize=255|req"
 +"6","root_id","1","This variable sets the root user id.  The root user will be able to access all files and have authority for everything.","num|req"
 +"7","dataDir","/membri/cancellino/dataodm/","location of file repository. This should ideally be outside the Web server root. Make sure the server has permissions to read/write files to this folder!. (Examples: Linux - /var/www/document_repository/ : Windows - c:/document_repository/","maxsize=255"
 +"8","max_filesize","5000000","Set the maximum file upload size","num|maxsize=255"
 +"9","revision_expiration","90","This var sets the amount of days until each file needs to be revised,  assuming that there are 30 days in a month for all months.","num|maxsize=255"
 +"10","file_expired_action","1","Choose an action option when a file is found to be expired The first two options also result in sending email to reviewer  (1) Remove from file list until renewed (2) Show in file list but non-checkoutable (3) Send email to reviewer only (4) Do Nothing","num"
 +"11","authorization","True","True or False. If set True, every document must be reviewed by an admin before it can go public. To disable set to False. If False, all newly added/checked-in documents will immediately be listed","bool"
 +"12","secureurl","True","Secure URL control: On or Off (case sensitive). When set to ""On"", all urls will be secured. When set to ""Off"", all urls are normal and readable","bool"
 +"13","allow_signup","False","Should we display the sign-up link?","bool"
 +"14","allow_password_reset","False","Should we allow users to reset their forgotten password?","bool"
 +"15","try_nis","False","Attempt NIS password lookups from YP server?","bool"
 +"16","theme","tweeter","Which theme to use?",
 +"17","language","english","Set the default language (english, spanish, turkish, etc.). Local users may override this setting. Check include/language folder for languages available","alpha|req"
 +"18","base_url","","Set this to the url of the site. No need for trailing ""/"" here","url"