You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

170 lines
6.6 KiB

  1. How to install?
  2. ---------------
  3. - You'll need a web server and an existing PHP and MySQL installation.
  4. If you require help on installation of these packages please visit
  5. <http://httpd.apache.org>, <http://php.net> and <http://mysql.com>.
  6. - Move all refbase-0.9.7 files to your web directory.
  7. - Open the file 'initialize/db.inc.php' in a text editor and edit the values
  8. of the variables '$databaseName', '$username' and '$password' to fit your
  9. needs.
  10. (Note that you might be able to use the refbase package without modifying
  11. these variables, but we highly recommend not to use the default values!)
  12. - Now, open a web browser and access the 'install.php' script by typing:
  13. <http://SERVER_ADDRESS/PATH_ON_SERVER/install.php>
  14. (where the string 'SERVER_ADDRESS' is replaced by your server name and
  15. 'PATH_ON_SERVER' is the actual path to your refbase-0.9.7 web directory)
  16. This should bring up the install form. Edit the contents of all text entry
  17. fields to match your server setup and supply the MySQL admin password, then
  18. click the 'Install' button to complete the installation process.
  19. WIN32: Be sure to set a password for the MySQL root user. The path to MySQL
  20. is probably '/Program Files/MySQL/bin/mysql.exe' or
  21. '/wamp/mysql/bin/mysql.exe', or wherever you've installed MySQL.
  22. - Please delete 'install.php' and 'update.php' from your webserver.
  23. Solutions for known problems and general troubleshooting tips are given at:
  24. <http://troubleshooting.refbase.net>
  25. See also:
  26. <http://requirements.refbase.net>
  27. <http://install.refbase.net>
  28. How to setup your own admin user?
  29. ---------------------------------
  30. - After you've successfully installed the database (see above), open the main
  31. page ('index.php') and login with:
  32. Email = user@refbase.net
  33. Password = start
  34. You should now see a welcome message at the top right corner of the page
  35. confirming your successful login.
  36. - Click on 'Add User' which should bring up an empty form. At a minimum, you
  37. have to specify the admin's first name & last name, his institutional
  38. abbreviation as well as his email address and password. Then click the 'Add
  39. User' button. You will be shown a receipt page with the account details you
  40. just entered.
  41. - Now open the file 'initialize/ini.inc.php' in a text editor and change the
  42. value of the '$adminLoginEmail' variable to the email address you've
  43. specified for your new admin user.
  44. - Log out from the database, then login again using the email address and
  45. password of your newly created admin account.
  46. - You can now delete the initial user by choosing 'Manage Users' and clicking
  47. the appropriate trash icon. (However, we recommend to keep this user until
  48. you've explored the example records that come with the database)
  49. See also:
  50. <http://adduser.refbase.net>
  51. How to configure the database?
  52. ------------------------------
  53. In order to properly configure your database you'll need to edit the global
  54. configuration file:
  55. - Open the file 'initialize/ini.inc.php' & edit all values of the contained
  56. variables to fit your needs. Please see the comments within the file for
  57. further guidance.
  58. Especially note that if you've chosen 'utf8' (Unicode) as default character
  59. set on installation, you must re-save the file 'ini.inc.php' with Unicode
  60. encoding (UTF-8, no BOM) and set variable '$contentTypeCharset' to 'UTF-8'.
  61. See also:
  62. <http://configure.refbase.net>
  63. Import Options
  64. --------------
  65. refbase offers batch import of records via the web interface ('import.php') or
  66. the command line ('contrib/command_line/refbase_import'). These scripts allow
  67. to import records from various common bibliographic formats (BibTeX, Copac,
  68. Endnote (tagged text & XML), MODS XML, RefWorks, RIS or SciFinder) as well as
  69. from online databases (CSA Illumina, ISI Web of Science or PubMed (MEDLINE & XML)).
  70. If you're coming from Endnote you may want to try out the Endnote style file
  71. and PHP script that's included with refbase. This style file and PHP script
  72. allows Endnote users to transfer data into refbase at the command line (see
  73. the README file in the 'contrib/endnote' directory for further information).
  74. In addition, refbase allows PHP developers to write their own import parsers
  75. and use the provided templates to import their records into the refbase
  76. database (see the 'contrib/import_templates' directory for available
  77. templates).
  78. If you can't use any of the above mentioned import options, you might be able
  79. to convert your data into a tab-delimited text format that can be imported
  80. directly into the MySQL database. Here are some notes how to prepare
  81. tab-delimited data for direct upload into your newly created MySQL tables:
  82. - Fields are separated by tabs, records are separated by returns
  83. (if not specified otherwise within the LOAD DATA statement).
  84. - The order of fields must resemble the field order specified in the MySQL
  85. table 'refs'. Field information for table 'refs' is given at:
  86. <http://wiki.refbase.net/index.php/Table_refs>
  87. - DATE format must be YYYY-MM-DD and TIME format must be HH:MM:SS.
  88. - Carriage returns *within* fields must be represented by a newline character
  89. ('\n', ASCII character 10).
  90. - Empty fields must be indicated by \N.
  91. - Character encoding: if you've chose 'latin1' as default character set upon
  92. installation, higher ASCII chars must be encoded as ISO-8859-1 aka 'Western
  93. (ISO Latin 1)', otherwise data should be encoded as Unicode (UTF-8, no BOM).
  94. - File encoding must be UNIX.
  95. - Assuming your data file is named 'refs.txt', you should be able to upload
  96. your data via use of the 'mysql' command line interpreter:
  97. LOAD DATA LOCAL INFILE "/PATH/TO/FILE/refs.txt" INTO TABLE refs;
  98. or, alternatively, use something like the following from your shell:
  99. mysqlimport --local -u root -p YOUR_DB_NAME "/PATH/TO/FILE/refs.txt"
  100. Note that if you're going to use the mysqlimport data import program the
  101. data file *must* be named 'refs.txt'.
  102. See also:
  103. <http://import.refbase.net>
  104. Skins
  105. -----
  106. refbase ships with alternative skins to change the appearance of the program.
  107. These are in the 'contrib/skins' directory. You can replace your
  108. 'includes/header.inc.php', 'includes/footer.inc.php' with these. You may also
  109. need to copy files to the 'css' directory.
  110. Please contribute other skins to <info@refbase.net>.
  111. Extensions for other software
  112. -----------------------------
  113. In 'contribs/mediawiki', there is an extension for MediaWiki to more easily
  114. include reference information from refbase in a wiki page. This will also
  115. allow you to use Wikipedia's citation templates, which may have an appearance
  116. that you like or might be easier for you (and the other users of your wiki) to
  117. customize.