Skip to content

AnimeshN/deprecated-community-gis

Repository files navigation

CommunityGIS

CommunityGIS is a platform for community for a spatial data infrastructure. This consists of frontend described below and backend which is geonode ( see www.geonode.org) Primary objective of communitygis is to provide educational platform for learners to learn about spatial information and learn how these modern tools can be used to solve real life problems. As a platform it is for people who range from those who can contribute data ( mobile based point data collection to digitization of published maps) to those who can analyse the data to infer useful social knowledge. It is a digital contraption needed to collect, aggregate , access and analyse data finally provide decision support for to manipulate reality. Since all source code is published hereby (for frontend) , under GPL, any one can reproduce the technology , without any permission from makerGHAT. This has been created by volunteers and coordinated by www.makerghat.org This is inspired by ideas as in 'p2p governance' of Bowens ( https://blog.p2pfoundation.net/about ) and Third Pillar of Dr Raghuram Rajan (https://www.penguinrandomhouse.com/books/566369/the-third-pillar-by-raghuram-rajan/9780525558316/ )

To run locally, use following guidelines ( you may use makerghat server as backend or install your own )

👦 You will need python3 and pip3 for installing packages

👶 fork the repo

👨 clone your repo locally

👴 install postgresql

sudo apt-get install postgresql

🙈 create virtual env

pip3 -m venv VIRTUALENVNAME 

🙉 activate virtual env

source VIRTUALENVNAME/bin/activate

🙊 install dependencies

pip3 install -r requirments.txt
or
pip3 install django psycopg2 social-auth-app-django

💀 setup database using postgres-setup.txt

🙏 email at [email protected] for asking keys for projects

👏 create tables

python3 manage.py migrate

🤡create superuser

python3 manage.py createsuperuser

🎉 run at http://127.0.0.1:8000/

python3 manage.py runserver