- git clone [email protected]:llivne/ultima.git
- cd ultima
- pip install -r ./requirements.txt
- uvicorn main:app --host 0.0.0.0 --port 8000
- git clone [email protected]:llivne/ultima.git
- cd ultima
- docker-compose up --build
example for request uploading all the files under /var/log that starts with the letter "a":
curl -X POST --location "http://127.0.0.1:8000/uploader/" -H "Content-Type: application/json" -d "{ \"Upload_id\": \"1\", \"Source_folder\": \"/var/log\", \"Destination_bucket\": \"/tmp/ultima-dest\", \"Regex\": \"^a\" }"
Note: if you are running the app from docker local root folder is located under /home/app/root