This is a project about pdf slicer and combiner
- create credential file in the infra dir
make updateworkerimage
in infra dir
in case you want the venv build to upload, run ./build_worker_env.sh
, it will create venv in the worker
dir
we assume that you are deploying the app in private subnet
- you will need to add file called
worker-docker.env
in the zip file with all the env var you want to have. - zip
docker-compose.yml
along withworker-docker.env
- upload and run
- run
./build_worker_env.sh
for the venv - zip the dir called
virt
(the venv we just created) along with.ebextensions
and py source code - upload and run
- credential problem inside the docker
- you will need to have the env vars in the
worker-docker.env
contains those three cretentials
- you will need to have the env vars in the
- beanstalk problem
- this is getting a bit more complicated
- Make sure that the IAM role you created have all the permissions to access related services
- Make sure that the subnet you created having needed AWS service endpoints
- Make sure you have the port exposed in the
docker-compose.yml
matching the port number configured indockerfile-worker
- There are
deploy.sh
s in each lambda dir - run it after you have the local credential updated, it's fully automated
- That's it ᕕ( ᐛ )ᕗ
- if you really have to, update and run
update_env.sh
- That's it again ᕕ( ᐛ )ᕗ
It's similar to worker
- create credential file in the infra dir
make updatebackendimage
in infra dir
Depending on frontend config since we are using docker compose to run two containers in one environment