add db, user registering into db, format

This commit is contained in:
pena 2021-11-07 00:31:32 +01:00 committed by Swrup
parent 6c64dcfffd
commit 82e65cfad4
6 changed files with 91 additions and 40 deletions

14
src/app.ml Normal file
View file

@ -0,0 +1,14 @@
module App_id = struct
let qualifier = "org"
let organization = "Permap"
let application = "permap"
end
module Project_dirs = Directories.Project_dirs (App_id)
let data_dir =
match Project_dirs.data_dir with
| None -> failwith "can't compute data directory"
| Some data_dir -> data_dir