Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for Dotenv (0.2 sec)

  1. docs/en/docs/advanced/settings.md

    /// tip
    
    For this to work, you need to `pip install python-dotenv`.
    
    ///
    
    ### The `.env` file { #the-env-file }
    
    You could have a `.env` file with:
    
    ```bash
    ADMIN_EMAIL="******@****.***"
    APP_NAME="ChimichangApp"
    ```
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  2. tests/tests_test.go

    			log.Printf("failed to ping sqlDB, got error %v", err)
    			os.Exit(1)
    		}
    
    		RunMigrations()
    	}
    }
    
    func OpenTestConnection(cfg *gorm.Config) (db *gorm.DB, err error) {
    	dbDSN := os.Getenv("GORM_DSN")
    	switch os.Getenv("GORM_DIALECT") {
    	case "mysql":
    		log.Println("testing mysql...")
    		if dbDSN == "" {
    			dbDSN = mysqlDSN
    		}
    		db, err = gorm.Open(mysql.Open(dbDSN), cfg)
    	case "postgres":
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Mon Jul 21 02:46:58 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/lang/SystemUtil.java

         *
         * @param key the environment variable key
         * @return the environment variable value, or null if not found
         */
        public static String getEnv(String key) {
            return System.getenv(key);
        }
    
        /**
         * Returns the system environment variable value for the specified key, or the default value if not found.
         *
         * @param key the environment variable key
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  4. docs/fa/docs/environment-variables.md

    مثلاً می‌تونی یه فایل `main.py` داشته باشی با:
    
    ```Python hl_lines="3"
    import os
    
    name = os.getenv("MY_NAME", "World")
    print(f"Hello {name} from Python")
    ```
    
    /// tip
    
    آرگومان دوم <a href="https://docs.python.org/3.8/library/os.html#os.getenv" class="external-link" target="_blank">`os.getenv()`</a> مقدار پیش‌فرضیه که برمی‌گردونه.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri Jul 25 09:27:03 UTC 2025
    - 11K bytes
    - Viewed (0)
  5. docs/en/docs/environment-variables.md

    For example you could have a file `main.py` with:
    
    ```Python hl_lines="3"
    import os
    
    name = os.getenv("MY_NAME", "World")
    print(f"Hello {name} from Python")
    ```
    
    /// tip
    
    The second argument to <a href="https://docs.python.org/3.8/library/os.html#os.getenv" class="external-link" target="_blank">`os.getenv()`</a> is the default value to return.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  6. okhttp-testing-support/src/main/kotlin/okhttp3/TestUtilJvm.kt

        object : ThreadFactory {
          private var nextId = 1
    
          override fun newThread(runnable: Runnable): Thread = Thread(runnable, "$name-${nextId++}")
        }
    }
    
    fun getEnv(name: String) = System.getenv(name)
    
    val SYSTEM_FILE_SYSTEM = FileSystem.SYSTEM
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGenerator.java

            }
            if (generatorList != null && !generatorList.isEmpty()) {
                String path = System.getenv("PATH");
                if (path == null) {
                    path = System.getenv("Path");
                }
                if (path == null) {
                    path = System.getenv("path");
                }
                final List<String> pathList = new ArrayList<>();
                pathList.add("/usr/share/fess/bin");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 13.3K bytes
    - Viewed (0)
  8. docs/bn/docs/environment-variables.md

    উদাহরণস্বরূপ, আপনার `main.py` নামে একটি ফাইল থাকতে পারেঃ
    
    ```Python hl_lines="3"
    import os
    
    name = os.getenv("MY_NAME", "World")
    print(f"Hello {name} from Python")
    ```
    
    /// tip
    
    <a href="https://docs.python.org/3.8/library/os.html#os.getenv" class="external-link" target="_blank">`os.getenv()`</a> এর দ্বিতীয় আর্গুমেন্টটি হলো এর ডিফল্ট ভ্যালু যা রিটার্ন করা হবে।
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Thu Jun 05 08:15:56 UTC 2025
    - 17.2K bytes
    - Viewed (0)
  9. settings.gradle.kts

    include(":samples:static-server")
    include(":samples:tlssurvey")
    include(":samples:unixdomainsockets")
    include(":container-tests")
    
    project(":okhttp-logging-interceptor").name = "logging-interceptor"
    
    val androidHome = System.getenv("ANDROID_HOME")
    val localProperties = Properties().apply {
      val file = File("local.properties")
      if (file.exists()) {
        load(file.inputStream())
      }
    }
    val sdkDir = localProperties.getProperty("sdk.dir")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jul 19 13:41:00 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  10. maven-tests/mvnw

    	public class Downloader extends java.net.Authenticator
    	{
    	  protected java.net.PasswordAuthentication getPasswordAuthentication()
    	  {
    	    return new java.net.PasswordAuthentication( System.getenv( "MVNW_USERNAME" ), System.getenv( "MVNW_PASSWORD" ).toCharArray() );
    	  }
    	  public static void main( String[] args ) throws Exception
    	  {
    	    setDefault( new Downloader() );
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jul 12 12:05:57 UTC 2025
    - 10.4K bytes
    - Viewed (0)
Back to top