banner



How To Install Graph Tool

A working surround for Geospatial assay with Docker, Python and PostgreSQL

Objectives

My piece of work surroundings on a Mac OSX. On the local host, I installed PostgreSQL and QGIS with Homebrew. For GDAL, Python3 and all its packages, I use a Docker container. PyCharm links all these pieces together under one unmarried umbrella.

References

Requirements

What we are going to do

PostgreSQL installation

          $ brew install postgresql        
          $ brew services kickoff postgresql        
          $ brew services list        
          $ brew services stop postgresql        

Create a Python environment in Docker

          $ mkdir MyDockerImages        
          $ cd myDockerImages        
          $ touch Dockerfile        
          $ docker build -t my_env -f ./Dockerfile ./        
          $ docker run -it my_env        
          root@539265d4463b        
Fustigate script for a Ubuntu Docker container to install graph-tool.
          $ docker commit -m "My note" -a "theAuthor" CONTAINERID my_env        

Connect everything with PyCharm

Connect Python to PostgreSQL

PostgreSQL connection test in Python3.6.

Bonus track: QGIS installation

          $ pip install psycopg2 requests time to come jinja2 pygments        
          $ mash info qgis2        
          $ brew install qgis2        
          $ ln -south /usr/local/Cellar/qgis2/ii.18.14/QGIS.app /Applications        

Disclosure

Please, get in impact!

Source: https://towardsdatascience.com/a-working-environment-for-geospatial-analysis-with-docker-python-and-postgresql-670c2be58e0a

Posted by: burkelapet1958.blogspot.com

0 Response to "How To Install Graph Tool"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel