This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Description: Using Docker (requires docker to be installed http://www.docker.io/gettingstarted/ ), spawn a postgresql instance and a dynamically configured treeio instance | |
# Author: Adam Awan | |
# Email: [email protected] | |
# Create a PostgreSQL Instance | |
echo "Retrieving jpetazzo/pglite PostgreSQL Container..." | |
docker pull jpetazzo/pglite | |
echo "Running jpetazzo/pglite PostgreSQL Container..." | |
PGID=$(docker run -d jpetazzo/pglite) |