An aplication to sanitize and filter ids available from customers in CSV files.
You should have installed Docker.
git clone git@github.com:GuiSAlmeida/sherlock.git
cd sherlock/
You should have installed Python as well.
Config .env.example
file with values and save as .env
only:
PLAT_USER=<user>
PLAT_PASSWORD=<password>
Run following commands to start application:
# install requirements
pip install -r requirements.txt
# up app at http://localhost:5000/
python main.py
# Create an image from project.
docker build -t <yourname>/sherlock[:tag] .
# List images
docker images
# List layers from image
docker image history <yourname>/sherlock:<tag>
# Run container with your own plat credencials,
# with volume mapped to your local repository (pwd),
# in http://localhost:5000/
docker run -v $(pwd):/app \
-p 5000:5000 \
-e PLAT_USER='<yourUser>' \
-e PLAT_PASSWORD='<yourPass>' \
--name sherlock <yourname>/sherlock:<tag>
# After run container in the first time,
# you can simple run start cmd next time.
docker container start <container uuid>