IT-bestpractices / root

This is our root repository.
18 stars 3 forks source link

create install procedure for the itbp.py program #10

Closed Alan-R closed 8 years ago

Alan-R commented 8 years ago

so that there's a well-known method for installing it. could use Cmake for this. It does this pretty well. Should be simple.

Should also be able to specify install directory, and maybe the location of the default configuration file.

It needs to also install the database as well... Duhhh!

It should also have a make test target too ;-).

Alan-R commented 8 years ago

Note that it should be possible to configure it so that installing it does not require root privileges.

Alan-R commented 8 years ago

I wrote the first version of a CMakeLists.txt file so it can be installed by cmake. Even adds the user id to the system. Needs work on allowing it to run from a config file not in /etc - that could be solved either in the install process or via command line options -- or both :-D. But it's not hanging out in my workspace any more - which is the main thing. https://github.com/IT-bestpractices/root/commit/b018d4d8f448986eb58b536d30daa58d6ce2bc53 is the commit that goes with this. I know I should have done a pull request. Bad boy :-(.