]> git.puffer.fish Git - matthieu/nova.git/commitdiff
fix crash on startup
authorMatthieuCoder <matthieu@matthieu-dev.xyz>
Sat, 31 Dec 2022 14:22:30 +0000 (18:22 +0400)
committerMatthieuCoder <matthieu@matthieu-dev.xyz>
Sat, 31 Dec 2022 14:22:30 +0000 (18:22 +0400)
docs/docs/quickstart.md
libs/shared/src/config.rs

index 216552e903c4037813e13b1dc9f31058aa21726b..6447ef7da9161a396ff75465fcfa3ddfff47c531 100644 (file)
@@ -19,3 +19,10 @@ hold tight this is going to be fast.
 
 ## Setting up a nova instance
 
+Clone the [example repo](https://github.com/discordnova/nova-quickstart.git) like so
+
+`git clone https://github.com/discordnova/nova-quickstart.git`,
+
+In this folder, find the `config.yml.example` file and rename it to match `config.yml`
+
+Next, you need to fill all the environment variables to match your discord bot.
index 5e8cb51b567cefa83a4ce03979a98adf603d46a7..52137a3fd7badfdbaaa352e2338f9618559bb460 100644 (file)
@@ -49,8 +49,7 @@ where
 
         //  try to load the config
         settings.config = config.get::<T>(service_name)?;
-        pretty_env_logger::init();
-
+        
         // start the monitoring system if needed
         crate::monitoring::start_monitoring(&settings.monitoring);
         Ok(settings)