Initial commit: tool to help analyze data from JIRA.

This commit is contained in:
2021-04-02 13:31:35 -05:00
commit dfd80ccf6a
8 changed files with 331 additions and 0 deletions

26
Makefile Normal file
View File

@ -0,0 +1,26 @@
PGSQL_CONTAINER_ID=`cat postgres.container.id`
createdb:
docker run \
--name postgres-tegra118 \
-e POSTGRES_PASSWORD=password \
-p 5500:5432 \
-d postgres \
> postgres.container.id
sleep 5
PGPASSWORD=password psql -p 5500 -U postgres -h localhost \
-c 'CREATE DATABASE tegra118;'
startdb:
docker start $(PGSQL_CONTAINER_ID)
stopdb:
docker stop $(PGSQL_CONTAINER_ID)
deletedb:
-docker stop $(PGSQL_CONTAINER_ID)
docker rm $(PGSQL_CONTAINER_ID)
rm postgres.container.id
connect:
PGPASSWORD=password psql -p 5500 -U postgres -h localhost tegra118