Skip to content

Latest commit

 

History

History
22 lines (17 loc) · 672 Bytes

HELP.md

File metadata and controls

22 lines (17 loc) · 672 Bytes

Development and Deployment

Local Development

Start postgres locally

docker run --rm   --name pg-docker -e POSTGRES_PASSWORD=docker -d -p 5432:5432 -v $HOME/docker/volumes/postgres:/var/lib/postgresql/data  postgres:11.8

create docker image

docker build -t covid-19-india .

Deploy application using docker

Using github maven workflow for the deployment.

Authenticate server

In case you are using private repo, Get the access token from github

cat ~/access_token.txt | docker login https://docker.pkg.github.com -u USERNAME --password-stdin # To access private github registry