summaryrefslogtreecommitdiff
path: root/main.go
blob: 28e6554a70680d4850898f20d0d76cbe93e311a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15

package main

import (
	"log"
)

var config RuntimeConfig

func main() {
	config = GetRuntimeConfig()
	log.Printf("Starting ceres with config file '%s'\n", config.Path)
	db := InitDatabase(config.Database)
	runServer(config.Http, &db)
}