This repository has been archived on 2024-04-25. You can view files and clone it, but cannot push or open issues or pull requests.
python-azure-example/README.md

28 lines
550 B
Markdown
Raw Normal View History

2024-03-01 14:14:57 +00:00
# `python-azure-example`
Just an example of a way to deploy Python app to Azure using Terraform.
# Development
### Dependencies
* [devbox](https://www.jetpack.io/devbox)
* [justfile](https://github.com/casey/just) (optional, `devbox run -- just` can be used instead)
```sh
# Configure
cp example.env .env
# Start local dev
just run
# Provision infrastructure
2024-03-01 21:05:49 +00:00
just deploy
2024-03-01 14:14:57 +00:00
2024-03-01 21:05:49 +00:00
## RELEASE PROCESS
# Release new code
just release
# At this point, you have to modify .env to point to new image
# And then we can deploy the new image.
2024-03-01 14:14:57 +00:00
just deploy
```