Tested on Unix based machines, using python 3.9+.
- Install python 3.9 or later
- Install pip (https://pip.pypa.io/en/latest/installation/)
- Install virtualenv (https://click.palletsprojects.com/en/8.1.x/quickstart/#virtualenv)
git clone https://github.com/diegomillan/app.git
- Create a python virtualenv:
virtualenv venv- Activate the virtualenv:
. venv/bin/activate- From the root folder of this repository, execute:
make requirementsFrom the root folder of this repository, execute:
make testsFrom the root folder of this repository, execute (it will run over each input line defined in input.txt):
make runAlso, you could run the app passing an existing file as argument (this file must follow the same format as input.txt):
app <filename.txt>Find a general description and help executing:
app --help