- .NET 7 SDK
- Docker
- Docker Compose
- Python 3
For installation of application:
- Download application:
git clone https://github.com/DevilSmith/WeatherArchiveApplication
cd WeatherArchiveApplication
- Change the architecture in the file for a compatible machine in
./DeployScripts/deploy_project.py
:
DOTNET_PLATFORM = DotnetPlatforms.LINUX_ARM64.value # OR DotnetPlatforms.LINUX_AMD64.value
DOCKER_PLATFORM = DockerPlatforms.LINUX_ARM64.value # OR DotnetPlatforms.LINUX_AMD64.value
- Run deployment process in
DeployScripts/
:
python3 deploy_project.py
or
python deploy_project.py
- Start docker-compose (docker-compose.yml should be generated after the 3rd paragraph of the instruction by the directory above):
docker-compose up -d --force-recreate
- To access the service, enter the URL in the browser:
http://localhost:5001