---
# System prepended metadata

title: oulahealth devops meet - 2020-10-21

---

# oulahealth devops meet - 2020-10-21

## show installing the plugin for containers from MS

notes in [README](https://github.com/oula-health/oula/tree/sabrina/yarn-spike#developing-in-docker)

## show attach to a running container

notes in [README](https://github.com/oula-health/oula/tree/sabrina/yarn-spike#developing-in-docker)


## show copying files to/from running container
    docker cp source/.               containerID:/destination
    docker cp containerID:/source/.  destination

  `docker ps` will show running containers one can copy to/from
  
  update use dockerignore to exclude node modules... https://stackoverflow.com/questions/43747776/copy-with-docker-but-with-exclusion

## Question

- getting running app locally on my machine.
    - port 3000 does not respond
        - use http://localhost:3001/login
    - end-to-end test?

use http://localhost:3001/login

## Git Flow and environments

confirm what composes an environment
  - database
  - container / ECS stack routing Inet traffic from 80 to 3000

branch-to-URL relationship (i.e. branch to environment to URL)

| branch     | remote URL         | database | redis |
| ---------- | ------------------ | ---- | --- |
| main | https://my.oulahealth.com   | defined in dependencies/aws | needs to be declared in same <-- |
| staging    | https://stage.oulahealth.com | same as prod with different endpoint | same as prod with different endpoint |
| dev        | n/a (local)        | n/a (local | n/a (local) | )


## Action Items

- [x] @camilosantana - move the rake and after_party commands to a makefile target
- [x] @camilosantana  - ~~add the docker copy (pseudo sync) to makefile target~~
