Skip to content

AmadeusITGroup/GreenLab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

GreenLab v0.6

What is the repository?

The repository is divided in different labs, that are little exercises.

The first lab is an introduction that consists in writting little pieces of code about palindroms.

The second lab is an implementation of calculation of carbon emission of an application.

The third lab is to plan a schedule of jobs to minimize carbon emissions within different datacenters.

Usage

1. Requirements

The following dependencies need to be installed before running :

  • Docker or Podman

2. Running the labs

Options

-l lab_number : select lab number to run (mandatory)

-s : run solution

-c : execute the C++ version of Lab 1

From the root of the repository, run:

./run.sh -l *lab_number*

or manually

docker run --rm -it -v ./Labs:/app/Labs ravichou/greenlab:*version_number* python3 runner.py -l *lab_number*

Example:

docker run --rm -it -v ./Labs:/app/Labs ravichou/greenlab:0.0.6 python3 runner.py -l 1.2

About

No description, website, or topics provided.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published