Django based Agricultural Decision Support System (AgDSS) for robotic sampling in precision agriculture. Please note that this documentation is incomplete and may be out of date.
##Setup
- git clone https://github.com/dcunhas/agdss
- cd agdss
- docker-compose up
##Additional steps needed in agdss web container, the first time for a composition
- Run
python manage.py migrate --settings=agdss.settings.common
to create the tables in the database. - To create admin credentials (required to access /admin), run
python manage.py createsuperuser
and enter the requested information. - The webapp can then be accessed at http://172.10.0.3:8000. For a list of available pages, see the file agdss/urls.py.
##Adding Images Send a POST to /webclient/addImage with parameters:
path
: location of image (not including image name itself. E.g. '/home/self/image-location/'). REQUIREDimage-name
: name of image REQUIREDcategory
: Category of the image (e.g. 'apple'). REQUIREDdescription
: A description NOT REQUIREDsource_description
: Description of image_source. NOT REQUIRED Note that this POST request can be sent from anywhere. In the future it will require some method of authentication.
##TODO
- Update paths to work from config file
- Category selection menu rather than field in tagging page