...
- Open the 'Terminal' app by going to Applications > Utilities > Terminal
Change to our document root folder
Code Block language bash cd /Applications/MAMP/ushahidi
Remove the default MAMP Pro files from this directory
Code Block language bash rm MAMP-PRO-Logo.png rm index.php
Clone the Ushahidi v3 Platform repository from Github
Code Block language bash git clone --recursive https://github.com/ushahidi/Lamuplatform ./
Follow the rest of the instructions listed here with the exception of using the database.php file listed below:
Code Block language php <?php defined('SYSPATH') or die('No direct access allowed.'); /** * Database Config * * @author Ushahidi Team <team@ushahidi.com> * @package Ushahidi\Application\Config * @copyright 2013 Ushahidi * @license https://www.gnu.org/licenses/agpl-3.0.html GNU Affero General Public License Version 3 (AGPL3) */ return array ( 'default' => array ( 'type' => 'MySQLi', 'connection' => array( 'hostname' => 'localhost', 'database' => 'ushahidi', 'username' => 'root', 'password' => 'root', 'socket' => '/Applications/MAMP/tmp/mysql/mysql.sock', 'persistent' => FALSE, ), 'table_prefix' => '', 'charset' => 'utf8', 'caching' => TRUE, 'profiling' => TRUE, ) );
- Your new site will be accessible at http://ushahidi.dev:8888/
...