PageRenderTime 42ms CodeModel.GetById 16ms RepoModel.GetById 0ms app.codeStats 0ms

/README.markdown

https://github.com/yamamoto123/Ushahidi_Web
Markdown | 119 lines | 85 code | 34 blank | 0 comment | 0 complexity | ed93e7dd7b9a07cdba3f11386d2927ab MD5 | raw file
  1. Ushahidi Platform
  2. =================
  3. The Ushahidi Platform is an open source web application for information collection, vizualisation and interactive
  4. mapping. It allows people to collect and share their own stories using various mediums such
  5. as SMS, Web Forms, Email or Twitter. For more information about the platform and use cases (case studies) visit: http://www.ushahidi.com
  6. System Requirements
  7. -------------------
  8. To install the platform on your computer/server, the target system must meet the following requirements:
  9. * PHP version 5.2.3 or greater
  10. * MySQL version 5.0 or greater
  11. * An HTTP Server. Kohana, which Ushahidi is built on, is known to work with the following web servers:
  12. - Apache 1.3+
  13. - Apache2.0+
  14. - lighttpd
  15. - Microsoft Internet Information Server (MS IIS)
  16. * Unicode support in the operating system
  17. Required Extensions
  18. -------------------
  19. The follwing is a list of PHP extensions that must be installed on your server in order for Ushahidi to run properly:
  20. * PCRE (http://php.net/pcre) must be compiled with –enable-utf8 and –enable-unicode-properties for UTF-8 functions to work properly.
  21. * iconv (http://php.net/iconv) is required for UTF-8 transliteration.
  22. * mcrypt (http://php.net/mcrypt) is required for encryption.
  23. * SPL (http://php.net/spl) is required for several core libraries
  24. * mbstring (http://php.net/mbstring) which speeds up Kohana's UTF-8 functions.
  25. * cURL (http://php.net/curl) which is used to access remote sites.
  26. * MySQL (http://php.net/mysql) is required for database access.
  27. #####NOTE: Need to figure out what extensions you already have installed on your server? Here are instructions to do just that: http://jontangerine.com/silo/php/phpinfo/
  28. Optional Server Requirements
  29. ----------------------------
  30. * To use Ushahidi's "Clean URLS" feature on an Apache Web Server, you will need the mod_rewrite module
  31. and the ability to use local .htaccess files. To check if local .htaccess files are allowed, verify that the
  32. "AllowOverride" directive in your Apache config (for the web server directory in which you have installed Ushahidi)
  33. has been set to "All" i.e.:
  34. <Directory [your-document-root-directory]>
  35. ...
  36. AllowOverride All
  37. ...
  38. </Directory>
  39. #####NOTE: Clean URLs means that the URLs of your deployment will not have the 'index.php' prefix
  40. Installation
  41. ------------
  42. * ####Download and extract Ushahidi
  43. You can obtain the official release of the software from [the download site](http://download.ushahidi.com).
  44. Alternatively, you can obtain the release running the latest version of the from [GitHub](https://github.com/ushahidi/Ushahidi_Web/archives/master) - the files are available in .zip and .tar.gz
  45. To unzip/extract the archive on a typical Unix/Linux command line:
  46. tar -xvf Ushahidi_Web-xxxx.tar.gz
  47. or in the case of a zip file:
  48. unzip Ushahidi_Web-xxxx.zip
  49. This will create a new directory Ushahidi_Web-xxxx containing all the Ushahidi platform files and directories - Move the contents of this directory
  50. into a directory within your webserver's document root or your public HTML directory.
  51. * ####Ensure the following directories are writable (i.e. have their permission values set to 777)
  52. - application/config/config.php
  53. - application/config
  54. - application/cache
  55. - application/logs
  56. - media/uploads
  57. - .htaccess
  58. On Unix/Linux, you can change the permissions as follows:
  59. cd path-to-webserver-document-root-directory
  60. chmod -R 777 application/config
  61. chmod -R 777 application/cache
  62. chmod -R 777 application/logs
  63. chmod -R 777 media/uploads
  64. chmod 777 .htaccess
  65. #####NOTE: The process of configuring file permissions is different for various operating systems. Here are some helpful links about permissions for the Windows (http://support.microsoft.com/kb/308419) and Unix (http://www.washington.edu/computing/unix/permissions.html) operating systems.
  66. * ####Create the Ushahidi database
  67. Ushahidi stores all its information in a database. You must therefore create this database in order to install Ushahidi. This is done as follows:
  68. mysqladmin -u 'username' -p create 'databasename'
  69. MySQL will prompt for the password for the <username> database password and then create the initial database files. Next, you must log in and set the
  70. database access rights:
  71. mysql -u 'username' -p
  72. Again, you will be prompted for the 'username' database password. At the MySQL prompt, enter the following command:
  73. GRANT SELECT, INSERT, DELETE, UPDATE, CREATE, DROP, ALTER, INDEX on 'databasename'.*
  74. TO 'username'@'localhost' IDENFIFIED BY 'password';
  75. Where:
  76. - 'databasename' is the name of your database
  77. - 'username@localhost' is the name of your MySQL account
  78. - 'password' is the password required for that username
  79. #####NOTE: Your account must have all the privileges listed above in order to run Ushahidi on your webserver.
  80. * ####Run the install script
  81. To run the install script, point your browser to the base url of your website: (e.g. http://www.example.com).
  82. You will be guided through a series of screens to set up the database and site settings depending on the installation method you choose (Basic or Advanced)
  83. Additional Information
  84. ----------------------
  85. For further references and documentation, head over to our wiki (http://wiki.ushahidi.com/doku.php?id=how_to_use_ushahidi_alpha). Also, we encourage you to drop by our forums (http://forums.ushahidi.com/) if you have any additional questions or concerns.