Coder Social home page Coder Social logo

d3rrick / livestockapp Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 1.0 25.96 MB

A web based livestock spatial decision support system.

Python 0.51% CSS 1.87% JavaScript 88.96% HTML 8.64% Shell 0.01% PHP 0.01%
django geodjango postgresql postis git restframework bootstrap3 jquery leafletjs africastalking

livestockapp's Introduction

Livestock decision support system

Description

The LDSS aids in management of livestock information in Nyeri county, the livestock agency can report various diseases on livestock, such data is used to predict diseases based on climatic conditions around the year, implements AfricasTalking to warn farmers of incidences reported near them and creation of an api to make data reusable in multiple applications.

  • Created on, May 19th 2018

Technologies used

  • Django
  • Geodjango
  • Jquery
  • Leafletjs
  • HTML5
  • Css3
  • Postgresql
  • Postgis
  • Git
  • AfricasTalking
  • DjangoRestFramework

Development and Setup.

prerequisites

Python 2.7 should be installed django 1.8 install other packages provided in the requirements.txt file Running the application. Visit this link to view on any browser.

Installation.

  • Ensure python2.7 is installed.
  • Clone the repository git clone
  • create a virtual environment virtualenv and activate source /bin/activate
  • Install the required packages pip3 install -r requirements.txt
  • Create a postgresql database.
  • open the psql terminal by typing psql -h localhost -U
  • Once on the psql terminal create the database CREATE DATABASE
  • Create postgis extension CREATE EXTENSION postgis and CREATE EXTENSION postgis-topology
  • Quit the shell \q
  • Once the database is setup, make migrations, this creates database schemas for the application python manage.py -makemigrations
  • Then create the actual database tables by python manage.py migrate
  • Start the application by python manage.py runserver and open http://127.0.0.1:8000 in the browser.
  • Test Driven Development
  • Testing was done using python inbuild test tool called unittest to test database and form models.

Reccomendations

  • Implement geo-odk forms for data collection using android phones.
  • Disease prediction using machine learning.
  • USSD for notifications.

Further help

To get Further help you can visit the official python and django documentation.

Licence

MIT (c) 2017 muriithi derrick

livestockapp's People

Contributors

d3rrick avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

uptotime

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.