Skip to content
This repository has been archived by the owner on Oct 12, 2023. It is now read-only.

NextFire-PolyMTL/log8415-tp1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

66 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

log8415-tp1

Prerequisites: Python 3.11, Poetry and Docker. AWS credentials must be configured in ~/.aws/credentials.

To setup the venv and install all dependencies:

poetry install

Web application

poetry install --only app
poetry run gunicorn app:app

Or with Docker:

docker build -t app -f .docker/app.Dockerfile .
docker run --rm -it -p 8000:8000 app

Deployment

poetry install --only deploy
poetry run python3 -m deploy

To terminate all resources:

poetry run python3 -m deploy.cleanup

Benchmarking

poetry install --only bench
poetry run python3 -m bench

Or with Docker:

docker build -t bench -f .docker/bench.Dockerfile .
docker run --rm -it -v $HOME/.aws:/root/.aws:ro  -v $PWD/results:/src/results bench

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •