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:
git clone https://github.com/ushahidi/pingapp.git
git submodule update --init --recursive
composer install
.Create a database
cp application/config/database.template application/config/database.php
Edit application/config/database.php
and set database, username and password params
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,
)
);
Install the database schema using migrations
./minion --task=migrations:run --up
cp application/config/init.template application/config/init.php
Edit application/config/init.php
and 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 application/config/redis.template application/config/redis.php
cp httpdocs/template.htaccess httpdocs/.htaccess
Edit httpdocs/.htaccess
and change the RewriteBase value to match your deployment url
Create directories application/cache
and application/logs
and make them writable
git pull https://github.com/ushahidi/pingapp.git
./minion --task=migrations:run
Base config files are in application/config/
.
cp application/config/sms.template application/config/sms.php
set account_sid
and auth_token
'options' => array(
'account_sid' => 'TwilioAccountSID20130924',
'auth_token' => 'TwilioAuthToken20130924'
)
The default login credentials are admin / westgate
Please refer to PING's Design Guide
./vendor/bin/phpunit -c application/tests/phpunit.xml