Note: This post is a summary of information paraphrased from an excellent blog post by Christian Sepulveda.
Create the app and download the necessary dependencies.
# best practice: linux | |
nano ~/.pgpass | |
*:5432:*:username:password | |
chmod 0600 ~/.pgpass | |
# best practice: windows | |
edit %APPDATA%\postgresql\pgpass.conf | |
*:5432:*:username:password | |
# linux |
#!/bin/sh | |
# AUTHOR | |
# DANIEL E. GILLESPIE (2016) | |
# https://github.com/dantheman213 | |
# DESCRIPTION | |
# Export your app's table schemas and stored functions from a PostgreSQL | |
# database into individual *.sql files for easy management and source control. |
Create the app and download the necessary dependencies.
#http://kartoza.com/how-to-create-a-qgis-pdf-report-with-a-few-lines-of-python/ | |
# coding=utf-8 | |
# A simple demonstration of to generate a PDF using a QGIS project | |
# and a QGIS layout template. | |
# | |
# This code is public domain, use if for any purpose you see fit. | |
# Tim Sutton 2015 | |