Clone the project
git clone https://github.com/ushahidi/pingapp.git |
Check out and update submodules
git submodule update --init --recursive |
Install PHP dependencies using composer
composer install |
Create a logs and cache directory and make them writable.
mkdir application/cache && chmod 0777 application/cache |
mkdir application/logs && chmod 0777 application/logs |
Copy the following configurations files into the configuration directory. Update them where necessary.
cp application/config/init.template application/config/init.php cp application/config/auth.template application/config/auth.php cp application/config/modules.template application/config/modules.php cp application/config/redis.template application/config/redis.php cp httpdocs/template.htaccess httpdocs/.htaccess |
Edit the database configuration file
cp application/config/database.template application/config/database.php |
return array ( 'default' => array ( 'type' => 'mysql', 'connection' => array( 'hostname' => 'localhost', 'database' => 'pingapp', 'username' => 'pingapp', 'password' => 'pingapp', 'persistent' => FALSE, ), 'table_prefix' => '', 'charset' => 'utf8', 'caching' => TRUE, 'profiling' => TRUE, ) ); |
Update the Ping App database. This command creates all the database and inserts all the base data necessary to run Ping App.
./minion --task=migrations:run |
Go to your website - http://your-website.com/
Default username: admin
Default password: westgate