It's an amateur StackOverflow. You can see the site's questions, if you want to ask a new one, or just answer, you have to register on it.
Pre-condition:
1.Connect to a database (you find the init sql file in sample data folder)
2.Set the environment variables:
PSQL_USER_NAME;
PSQL_PASSWORD;
PSQL_HOST;
PSQL_DB_NAME;