You need to have keyengine.json configuration file in the current directory.
{
"httpPort": 80,
"secret": "1234567890",
"key": "test.key",
"pwd": "qazwsx",
"driver": "sqlite3",
"connString": "file:test.db?cache=shared&mode=memory",
"allowTokens": true,
"license": "ey...0ifX0="
}
httpPortSets up a port where the built-in HTTP listens.
secretSpecifies a secret key to access /upload/ page.
keyA path of a private key file. The key should be in an OpenSSH format, as generated by ssh-keygen.
pwdThe private key password, or an empty string, if the key isn’t encrypted.
driverDatabase driver, one of postgres, mysql, sqlite3.
connStringDatabase connection string.
For postgres it should be as follows:
postgres://username:password@host:5432/database?sslmode=disable
or see the docs here.
For mysql it should be as follows:
username:password@tcp(host:3306)/test?autocommit=true
or see the docs here.
For sqlite3 it should be as follows:
file:test.db?cache=shared
or see the docs here.
allowTokensIf true, unblocks /license/ page processing.
licensekeyengine itself is a shareware so it requires license to be used. Use your license key or empty quotes for trial period. After the 30-day trial period you should buy a license at https://elfuego.biz.