Skip to content

An aplication to sanitize and filter ids available from customers in CSV files.

Notifications You must be signed in to change notification settings

guisalmeida/sherlock

Repository files navigation

Logo

Sherlock

An aplication to sanitize and filter ids available from customers in CSV files.

Prerequisities

You should have installed Docker.

Installing

git clone git@github.com:GuiSAlmeida/sherlock.git
cd sherlock/

Start App (without Docker)

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

Usage with Docker

# 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>

About

An aplication to sanitize and filter ids available from customers in CSV files.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published