diff options
Diffstat (limited to 'main.go')
-rw-r--r-- | main.go | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -37,7 +37,11 @@ func main() { model.ConnectDatabase(filepath.Join(storage.Path, "ceres.sqlite3")) defer model.DisconnectDatabase() model.MigrateDatabase(version) - model.InjectTestRecipes() + + if injectExamples { + model.InjectExampleRecipes() + log.Println("Added example recipes") + } server := NewServer(config.HttpAddress) go server.Start() |