Unmaintained
A simple disaster management system
To run the app run setup.sh
with appropriate arguments.
The same script can also be used for setting up the project and install dependencies for the first time. It is target for default Ubuntu-like installations. Might or might not work as it is on some other variances.
Warning: The script might involve some changes to some root owned directories apart from installing some dependencies
To set up the config, go to app folder and copy the config_example.php file as config.php. Use the following command to do so:
cp config_example.php config.php
Once that is done, open the config.php file, and change the DB_HOST
, DB_USER
, DB_PASS
and DB_NAME
as per ypur local system information.
define('DB_HOST', 'localhost');
define('DB_USER', '<Database User>');
define('DB_PASS', '<Database Password>');
define('DB_NAME', '<Database Name>');
Now, open your application and you should see a simple page with Project Saathi A disaster Management System written on it.
Once your done with the above, you need to create your database. For this, use the saathi.sql file. Use the import feature of phpMyAdmin for this.
The project requires mysqlnd
driver for some functinalities. You can install it with following command in Ubuntu.
sudo apt-get install php5-mysqlnd
If you come across any problems, please mention it on the issues page. The concerned people will try to help you as soon as possible.