Over the past couple of decades we are witnessing severe droughts destroying over 10% of crop yields, with this number reaching a fifth in the developing countries. This loss has the greatest impact on smallholders which are unable to maintain constant crop income for their family and the market as they solely rely on rain for irrigation purposes.

This problem can be greatly alleviated by the introduction of irrigation systems, a practice still neglected in the developing countries. What’s more, the ones who do utilize these systems, tend to do so irrationally, putting in danger their crops but also water resources which are being depleted at unsustainable rate.

This approach to water management and crop production not only increases crop yield but also provides a more secure and sustainable process for doing so. Considering the fact that almost 90% of agricultural goods is produced by smaller family farms, we believe that H2Orticulture has great potential, as the problem of irrational water use in food production industry is becoming more and more dominant.

In repo folder install virtuealenv

sudo apt-get install python-virtualenv
pip install virtuealenv
virtualenv nasa

Last command creates virtualenv nasa, so all packages will be installed for that interpreter

cd nasa
source bin/activate
cd ..
pip install -r requirements.txt

After requirements installation return to the root folder and create database

cd ..
python db_create.py
python db_migrate.py
python db_upgrade.py

After you create database everything is ready for running. To run the server do the following

python run.py

If everything went ok, web app is online on this address

http://localhost:5000