This is a project based on an assignment given by Bloomon. The assignment description can be found here.
Optional:
- Make sure
Docker
is installed and running properly. - Open the terminal and go to the directory of this project.
- In case necessary, you can add additional
input files
in the directoryinputs
. The application will process all theinput files
in the directory. Note: Make sure the files are in the correct format! - Run the following command to build the docker image:
$ docker build -t cirx-bloomon .
- Run the following command to run the docker image:
$ docker run -v $PWD/outputs:/usr/src/app/outputs cirx-bloomon
- The results of the input files are placed in the directory
outputs
after a successful run.
- Make sure
Python
is installed and running properly. - Open the terminal and go to the directory of this project.
- Run the following command to run the application.
$ python3 main.py
- Make sure
Python
is installed and running properly. - In case necessary, activate a virtual environment for this project.
- Run the following command to install the required packages for this project.
$ pip install -r requirements.txt
- Run the following command to run the tests.
$ pytest