red_Marvin
January 5th, 2006, 01:12 PM
I am developing a small console program that has linux as one of it target platforms.
Now, the project has grown in a direction that it would be good to make a "user options" file, perhaps in $HOME/.programname
Now would that place be the best to put the file? Also when going this far it would perhaps be practical to have a global installation
so I can reach the program from cli by typing the name, without the hazzle of doing a lot of cd'ing to get in the right directory.
So:
Where would I put the bin file? (do I have to enter it in a database or something)
Where would I put eventual data files?
Should I look into sh (bash?) scripting or deb packages to make an install?
Got any other tips?
...yes it's open source, I just haven't figured out a good way to include the gpl text file yet...
EDIT: Just discovered that there is a packaging and compiling subforum, if a mod considers it to be the more accurate forum, please move my thread...
Now, the project has grown in a direction that it would be good to make a "user options" file, perhaps in $HOME/.programname
Now would that place be the best to put the file? Also when going this far it would perhaps be practical to have a global installation
so I can reach the program from cli by typing the name, without the hazzle of doing a lot of cd'ing to get in the right directory.
So:
Where would I put the bin file? (do I have to enter it in a database or something)
Where would I put eventual data files?
Should I look into sh (bash?) scripting or deb packages to make an install?
Got any other tips?
...yes it's open source, I just haven't figured out a good way to include the gpl text file yet...
EDIT: Just discovered that there is a packaging and compiling subforum, if a mod considers it to be the more accurate forum, please move my thread...