# crm-connect


## Git flow
[![](https://mermaid.ink/img/pako:eNqFkD1Pw0AMhv-K5QmkNiJly4DUNhQWFmBLMpiLQ0663EX3UYSS_HcuhFZlAU-Wnue1bA8oTM2YYaPMh2jJenjNSw2xtsUTSV3Ben0HoyLPzkNvTR2El0aDZcXkeITdVc5HVqa_XnK778R-ODD5YBneLGnRspsWvJ_xmEvnpRYemsUaIS9OgbT627w_m5t_zMPZvP0xt7P5UDwvy0Oa3CTpJXr8hTbVDC7OOv3hyNYlY4zEwhV2bDuSdXzjMMsl-pY7LjGLbc0NBeVLLPUUVQrevHxqgZm3gVcY-jqOzCW9W-owa0g5nr4Acw-A9g?type=png)](https://mermaid.live/edit#pako:eNqFkD1Pw0AMhv-K5QmkNiJly4DUNhQWFmBLMpiLQ0663EX3UYSS_HcuhFZlAU-Wnue1bA8oTM2YYaPMh2jJenjNSw2xtsUTSV3Ben0HoyLPzkNvTR2El0aDZcXkeITdVc5HVqa_XnK778R-ODD5YBneLGnRspsWvJ_xmEvnpRYemsUaIS9OgbT627w_m5t_zMPZvP0xt7P5UDwvy0Oa3CTpJXr8hTbVDC7OOv3hyNYlY4zEwhV2bDuSdXzjMMsl-pY7LjGLbc0NBeVLLPUUVQrevHxqgZm3gVcY-jqOzCW9W-owa0g5nr4Acw-A9g)




## Prereqs:  
docker and docker-compose (https://docs.docker.com/desktop/windows/install/  and https://docs.docker.com/compose/install/)

## Local test the containers 
1) Run docker-compose build --no-cache  in order to build the images  
2) Run docker-compose -f .\docker-compose.yml up -d  to create the containers  
3) Test the app  
4) Delete the containers:  docker-compose -f .\docker-compose.yml down  



## Push the image manually tp docker hub
docker login --username username  
Optional (if the image is not tagged): docker tag image-name dcaventures/crm-connect  
docker push dcaventures/crm-connect:tagname     (if tagname is not specified, then latest is added. Here you can specify the image for dev/test/prod or latest)



