Cereal84 / AnadiCSV

A tool to execute SQL query on CSV file
MIT License
3 stars 3 forks source link

Add support to Podman #4

Open Cereal84 opened 1 day ago

Cereal84 commented 1 day ago

The scripts supports only Docker image, we can extend this to Podman too.

Fabelair commented 22 hours ago

Hey! can I work on that for u?

Cereal84 commented 21 hours ago

Hi @Fabelair, sure. I assign it to you.

Fabelair commented 19 hours ago

Hey @Cereal84, I am doing everything I can, but I am incapable of running your program. I started on windows before understanding the install.sh was made for linux. after, I had to change the copy anadi.sh path because I don't have a .local folder...Still not able to run the anadi function in my command line. Do you think we could work on a way to make it work for windows and linux? And a way to make the downloading process easier for someone who would like to use your software?

edit: needed to create a lot of file to run the project...couldn't we create those files in the github and reference them there? (e.g. .config/anadi and local/bin/anadi)

Cereal84 commented 19 hours ago

Yes the project supports Ubuntu/Debian only at the moment. Which Linux distro are you using ?

Cereal84 commented 19 hours ago

What do you mean with "And a way to make the downloading process easier for someone who would like to use your software?" ?

Fabelair commented 19 hours ago

I think I just responded to you in my edit of my last comment

Ubuntu

Cereal84 commented 18 hours ago

On Ubuntu you should have $HOME/.local/bin directory, can you check if you have $HOME/bin/ directory ?

Probably we can create the directory $HOME/.config/anadi/ directly via install.sh, I opened a new issue about it #9 .

Fabelair commented 18 hours ago

Hey @Cereal84, sorry I responded also in the other issue...but I only got the answer for the .config/anadi problem

Cereal84 commented 18 hours ago

@Fabelair Thanks to you I've created and fixed #9 .

Cereal84 commented 18 hours ago

but

Can you check if you have $HOME/bin/ directory ?

Fabelair commented 18 hours ago

no but everything works perfectly now...I think I miss understood the error (it probably only because the .config file was missing)

Fabelair commented 17 hours ago

@Cereal84 in the anadi.sh file, it runs this command..."docker run -it -v "$CONF_PATH":/root/.config/anadi -v "$DATA_PATH":/data/ anadi:latest"... if I understood well, to use podman, the user would need to have it downloaded before hand (just like docker) and there would be a problem with the definition of anadi:latest ("podman run -it -v "$CONF_PATH":/root/.config/anadi -v "$DATA_PATH":/data/ anadi:latest"). Do you need the program to see if one of them is downloaded and use one of the two...or let the user decide? Not sure I understand everything...My current understanding of the use of docker rn is that docker is just your way to analyse the csv file.