package main import ( "log" "xengineering.eu/ceres/utils" "xengineering.eu/ceres/web" ) func main() { // read all sources of runtime configuration (e.g. CLI flags and config file) config := utils.GetRuntimeConfig() // print start message log.Printf("Starting ceres with config file '%s'\n", config.Path) // initialize database db := utils.InitDatabase(config.Database) // start web server web.RunServer(config.Http, &db) }