Tag Archives: 2019
How to Install pgAdmin4 Web Application as a Service
pgAdmin is the most popular and feature-rich Open Source administration and development platform for PostgreSQL, the most advanced Open Source database in the world. Add pgadmin4 Repository To add the repository find out the release of the Linux distribution by using lsb_release -cs Create a file /etc/apt/sources.list.d/pgdg.list and add the following line to add the repository deb…
Directory Structure for Python Projects
To get started with Directory Structure I would like to quote the following lines from a well-kown python book called The Hitchhiker’s Guide to Python: Best Practices for Development by Kenneth Reitz and Tanya Schlusser. By “structure” we mean the decisions you make concerning how your project best meets its objective. We need to consider how to best leverage Python’s…
Using Docker Behind a Corporate Proxy
As I was trying to pull docker image from hub.docker.com, it was showing me errors like below error-response-from-daemon-get-https-registry-1-docker-io-v2 This ERROR occurs because of connection issues. If the system is behind a proxy then it’s more likely to run into this sort of error. This is how I have solved the PROXY issue for an UBUNTU based system which is…
Python 3.6 Package Installation Error in Docker Alpine Image
As I was trying to create an alpine image with python 3.6.7 version and also wanted to install other Python packages from requirements.txt with pip. Docker build kept running into ERROR. effi and ssl could not build with gcc. It took me awhile to find out why it’s happening. In the beginning I thought it was an issue with pip version of…