add db, user registering into db, format

This commit is contained in:
zapashcanon 2021-11-07 00:31:32 +01:00
parent a24e59ed04
commit a951a7584a
No known key found for this signature in database
GPG key ID: 8981C3C62D1D28F1
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