This system was forked off of engelsystem. This version is available at Engelsystem-FC.
More documentation can be found at: https://engelsystem.de/doc/
The Engelsystem can be started using the provided startup.sh program.
Take a look at [setup.md] additionally to see how engelsystem is setup for FC.
If developing locally against fargate-infrastructure, you can upload changes to your AWS account by following these steps:
- Authenticate with AWS
aws sso login --profile fargate
- Build the docker image
docker build -f docker/Dockerfile . -t es_server
- Authenticate docker with the AWS ECR instance
aws ecr get-login-password --region us-west-2 --profile fargate | docker login --username AWS --password-stdin <aws_account_id>.dkr.ecr.us-west-2.amazonaws.com
- Tag the build with the repo, you can find this value inside the AWS account
docker tag es_server <aws_account_id>.dkr.ecr.us-west-2.amazonaws.com/engelsystem:<whatever_the_current_tag_is>
- Upload the build
docker push <aws_account_id>.dkr.ecr.us-west-2.amazonaws.com/engelsystem
- Restart the service
aws ecs update-service --force-new-deployment --service engelsystem --cluster Fargate --profile fargate --region us-west-2
As soon as you push (or merge to) main, this will automatically kick off a build and upload it to Prod AWS. After a few minutes the changes will be live on anthroarts.org!