A personal SMS check-in app - check if your friends respond.
To install the platform on your computer/server, the target system must meet the following requirements:
- PHP version 5.3.0 or greater
- Database Server
- MySQL version 5.5 or greater
- PostgreSQL support is coming
- An HTTP Server. PingApp is known to work with the following web servers:
- Apache 2.2+
- nginx
- Unicode support in the operating system
- Open a terminal
- Clone the project
git clone https://github.com/ushahidi/pingapp.git - Update the submodules
git submodule update --init - Install the Twilio packages using Composer by running
composer install.
-
Create a database
-
cp application/config/database.template application/config/database.php -
Edit
application/config/database.phpand set database, username and password paramsreturn 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, ) ); -
Install the database schema using migrations
./minion --task=migrations:run --up -
cp application/config/init.template application/config/init.php -
Edit
application/config/init.phpand change base_url to point the the httpdocs directory in your deployment -
cp application/config/auth.template application/config/auth.php -
cp application/config/modules.template application/config/modules.php -
cp httpdocs/template.htaccess httpdocs/.htaccess -
Edit
httpdocs/.htaccessand change the RewriteBase value to match your deployment url -
Create directories
application/cacheandapplication/logsand make them writable
- Perform a
git pull https://github.com/ushahidi/pingapp.git - Run migrations
./minion --task=migrations:run
Base config files are in application/config/.
- Get a free account at https://www.twilio.com/.
cp application/config/sms.template application/config/sms.php- set
account_sidandauth_token
'options' => array(
'account_sid' => 'TwilioAccountSID20130924',
'auth_token' => 'TwilioAuthToken20130924'
)
The default login credentials are admin / westgate
Please refer to PING's Design Guide
Coming soon...