summaryrefslogtreecommitdiff
path: root/cmd/cms/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/cms/main.go')
-rw-r--r--cmd/cms/main.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/cmd/cms/main.go b/cmd/cms/main.go
index 5550175..00b4809 100644
--- a/cmd/cms/main.go
+++ b/cmd/cms/main.go
@@ -4,6 +4,8 @@ import (
"flag"
"fmt"
"os"
+
+ "github.com/nilslice/cms/system/db"
)
var usage = `
@@ -95,6 +97,7 @@ func main() {
os.Exit(1)
}
case "serve", "s":
+ db.Init()
serve()
case "":