diff --git a/README.md b/README.md index 50735bd..52fc7f0 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ Installing the database schema and loading sample data: Configuration is handled via environment variables: STORAGE_URL=postgres://user:password@host:port/db_name \ - QUEUE_URL=redis://host:port/db_number botbot-bot + REDIS_PLUGIN_QUEUE_URL=redis://host:port/db_number botbot-bot ## Architecture diff --git a/botbot-bot b/botbot-bot new file mode 100755 index 0000000..25de637 Binary files /dev/null and b/botbot-bot differ diff --git a/main.go b/main.go index 9bf049f..73902d3 100644 --- a/main.go +++ b/main.go @@ -22,7 +22,10 @@ const ( func main() { flag.Parse() + glog.Infoln("START. Use 'botbot -help' for command line options.") + glog.Infoln("STORAGE_URL: ", os.Getenv("STORAGE_URL")) + glog.Infoln("REDIS_PLUGIN_QUEUE_URL: ", os.Getenv("REDIS_PLUGIN_QUEUE_URL")) storage := common.NewPostgresStorage() defer storage.Close()