featscomp
computes ‘features’, as defined by the DevMine project and inserts
them into the database.
To install featscomp
, run this command in a terminal, assuming
Go is installed:
go get github.com/DevMine/featscomp
Or you can download a binary for your platform from the DevMine project’s downloads page.
You also need to setup a PostgreSQL database. Look
at the
README file
in the db
sub-folder for details.
Copy featscomp.conf.sample
to featscomp.conf
and edit it according to you
needs. It has two sections, one to configure access to the database, the other
to specify which feature you would like to compute:
Once configuring is done, simply run featscomp
and give it a configuration
file as argument:
featscomp featscomp.conf