forked from ushahidi/Ushahidi_Web
-
Notifications
You must be signed in to change notification settings - Fork 12
/
README
71 lines (56 loc) · 4.13 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
WELCOME
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Thanks for using Ushahidi. We hope that you find the setup and installation process as smooth as possible. We have an active community so if you get stuck along the way, head over to the forums (http://forums.ushahidi.com/) and get some help. In addition to the forums, we have a wiki (http://wiki.ushahidi.com/doku.php) with more detailed information about the platform.
System Requirements
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- A server with Unicode support.
- MySQL version 5.0 or greater.
- PHP version 5.2.3 or greater.
- An HTTP Server. Kohana which Ushahidi is built upon is known to work with the following web servers: Apache 1.3+, Apache2.0+, lighttpd, and MS IIS.
Required Extensions
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The follwing is a list of PHP extensions that must be installed on your server in order for Ushahidi to run properly.
- PCRE (http://php.net/pcre) must be compiled with –enable-utf8 and –enable-unicode-properties for UTF-8 functions to work properly.
- iconv (http://php.net/iconv) is required for UTF-8 transliteration.
- mcrypt (http://php.net/mcrypt) is required for encryption.
- SPL (http://php.net/spl) is required for several core libraries
- mbstring (http://php.net/mbstring) which speeds up Kohana's UTF-8 functions.
- cURL (http://php.net/curl) which is used to access remote sites.
- MySQL (http://php.net/mysql) is required for database access.
* 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/
Preliminary Setup
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Before installing Ushahidi you will need to give your server authority to write to certian files and folders. Please make sure the following files and folders are writable by your server:
- application/config/config.php
- application/config
- application/cache
- application/logs
- media/uploads
- .htaccess
* 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.
Installation Guide
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Ushahidi can be installed manually or via the web installer. The easiest way to install Ushahidi is to use the web installer as it takes you through everything step by step.
Web Installer
~~~~~~~
- Upload the unpacked/unzipped Ushahidi files to your server.
- Make sure the appropriate files are writable by your web server (see "Preliminary Setup" above).
- Point your browser to the http://[Your Ushahidi URL]/installer and follow the step by step instructions.
Manual Installation
~~~~~~~
- Upload the unpacked/unzipped Ushahidi files to your server.
- Create a database and note the connection credentials.
- Make sure the appropriate files are writable by your web server (see "Preliminary Setup" above).
- Copy or rename ./application/config/database.template.php to ./application/config/database.php.
- Edit database.php and provide it with your database credentials.
- Copy or rename ./application/config/config.template.php to ./application/config/config.php.
- Edit config.php and provide it with the appropriate values. The comments in the file will tell you exactly what to provide. In most cases, you won't need to change many of them.
- Create the appropriate tables into your database by executing the sql statements in the following file: ./sql/ushahidi.sql
- Browse to your site: URL: http://[Your Ushahidi URL]/
- Admin Area: http://[Your Ushahidi URL]/admin
- User: admin
- Password: admin
*Please note: There are still more settings and configurations that you will still need to complete in order to get your instance fully opporational. More information about these settings can be found on our wiki.
Online Resources
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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.