# Packages
No description provided by the author
# README
ITU MiniTwit
Updated by: Group R
To build the MiniTwit Docker image:
docker build -t minitwit .
To run the MiniTwit Docker container:
docker run -p 8080:8080 -it minitwit
Deploy
The project is automatically deployed when a new :latest
tag is pushed to Docker Hub. This happens automatically once a commit is made to the master
branch.
This assumes that Azure has been set up correctly.
Azure setup
Prerequisites
- Install Terraform
- Install the Azure CLI and follow the initial steps of this Terraform guide
Steps
- Make sure the working directory is
.infrastructure
(cd .infrastructure
from the project root). - Ensure that you have the
.infrastructure/.tfvars
file and replace the<add_value>
fields with your secrets and config values. - Run
terraform apply -var-file .tfvars