Skip to content

A simple disaster management system - as part of an academic project

Notifications You must be signed in to change notification settings

MehaKaushik/saathi

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

saathi

A simple disaster management system

How to run

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

Setting Up the Config

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.

Database Setup

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.

Other dependencies

The project requires mysqlnd driver for some functinalities. You can install it with following command in Ubuntu.

sudo apt-get install php5-mysqlnd

Issues

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.

About

A simple disaster management system - as part of an academic project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 96.0%
  • CSS 2.6%
  • Shell 1.4%