Code Monkey home page Code Monkey logo

saathi's Introduction

Unmaintained

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.

saathi's People

Contributors

chandan5 avatar gauravmittal1995 avatar imjalpreet avatar kanika2107 avatar kartikgupta0909 avatar nisargjhaveri avatar parthkolekar avatar souravsarangi avatar tmadhuri avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

saathi's Issues

Use absolute URLs everywhere

We are still using relative URLs in many places. This might be the cause of many problems in future.

We should convert everything to use absolute URLs.

ER Issues

10498572_10153127203649454_54200328522409945_o

  1. "assets" has organisation_id -> Of what use? -> We made "requests" to deal with it.
  2. Is "assets" used for donation then where is count?

If anybody has any other issues related to ER mention here.

Tests (important??)

Ok, We need to start thinking about tests. Now its becoming important, because instead of reviewing everytime, we can simply leave it on the testing system (travis if we want), to do it.

@nisargjhaveri @imjalpreet Thoughts.

P.S i know this is stretching it a bit far, but i think it will make it simpler as we wont have to review each and every PR. For some, if tests are passed, then its all good.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.