Search Options

Results per page
Sort
Preferred Languages
Advance

Results 311 - 320 of 862 for Lain (0.02 sec)

  1. docs/ru/docs/deployment/docker.md

    # (1)
    COPY ./main.py /code/
    
    # (2)
    CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "80"]
    ```
    
    1. Скопируйте непосредственно файл `main.py` в директорию `/code` (не указывайте `./app`).
    
    2. При запуске Uvicorn укажите ему, что объект `app` нужно импортировать из файла `main` (вместо импортирования из `app.main`).
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Aug 12 21:47:53 UTC 2024
    - 57.6K bytes
    - Viewed (0)
  2. pom.xml

    						</data>
    						<!-- Add bin directory -->
    						<data>
    							<type>files</type>
    							<paths>
    								<path>${project.basedir}/src/main/assemblies/files/fess</path>
    								<path>${project.basedir}/src/main/assemblies/files/fess.in.sh</path>
    								<path>${project.basedir}/src/main/assemblies/files/generate-thumbnail</path>
    								<path>${project.basedir}/plugin.xml</path>
    							</paths>
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 26 02:16:03 UTC 2024
    - 49.1K bytes
    - Viewed (0)
  3. docs/pt/docs/advanced/behind-a-proxy.md

    ### Fornecendo o `root_path`
    
    Para conseguir isso, você pode usar a opção de linha de comando `--root-path` assim:
    
    <div class="termy">
    
    ```console
    $ fastapi run main.py --root-path /api/v1
    
    <span style="color: green;">INFO</span>:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
    ```
    
    </div>
    
    Se você usar Hypercorn, ele também tem a opção `--root-path`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 15:28:18 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  4. docs/en/docs/deployment/index.md

    You could **deploy a server** yourself using a combination of tools, you could use a **cloud service** that does part of the work for you, or other possible options.
    
    I will show you some of the main concepts you should probably keep in mind when deploying a **FastAPI** application (although most of it applies to any other type of web application).
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Jan 11 16:31:18 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  5. build-logic-settings/UpdateDevelocityPluginVersion.java

    import java.io.*;
    import java.nio.file.*;
    import java.util.regex.*;
    
    public class UpdateDevelocityPluginVersion {
        public static void main(String[] args) throws IOException {
            if (args.length != 1) {
                System.out.println("Usage: java build-logic-settings/UpdateDevelocityPluginVersion.java <new-version>");
                System.exit(1);
            }
    
            String newVersion = args[0];
            String[] files = {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Sep 12 07:58:50 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  6. compat/maven-repository-metadata/pom.xml

            <artifactId>modello-maven-plugin</artifactId>
            <configuration>
              <version>1.2.0</version>
              <models>
                <model>../../api/maven-api-metadata/src/main/mdo/metadata.mdo</model>
              </models>
              <params>
                <param>forcedIOModelVersion=1.1.0</param>
                <param>packageModelV3=org.apache.maven.artifact.repository.metadata</param>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  7. buildscripts/checkdeps.sh

    		exit 1
    	fi
    }
    
    main() {
    	## Check for supported arch
    	assert_is_supported_arch
    
    	## Check for supported os
    	assert_is_supported_os
    
    	## Check for Go environment
    	assert_check_golang_env
    
    	## Check for dependencies
    	assert_check_deps
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jun 13 05:08:11 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  8. samples/guide/src/main/java/okhttp3/recipes/PostFile.java

          if (!response.isSuccessful()) throw new IOException("Unexpected code " + response);
    
          System.out.println(response.body().string());
        }
      }
    
      public static void main(String... args) throws Exception {
        new PostFile().run();
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat May 25 18:02:55 UTC 2019
    - 1.5K bytes
    - Viewed (0)
  9. samples/guide/src/main/java/okhttp3/recipes/kt/DevServer.kt

            if (!response.isSuccessful) throw IOException("Unexpected code $response")
    
            println(response.request.url)
          }
        } finally {
          server.shutdown()
        }
      }
    }
    
    fun main() {
      DevServer().run()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  10. samples/guide/src/main/java/okhttp3/recipes/kt/ParseResponseWithMoshi.kt

          }
        }
      }
    
      @JsonClass(generateAdapter = true)
      data class Gist(var files: Map<String, GistFile>?)
    
      @JsonClass(generateAdapter = true)
      data class GistFile(var content: String?)
    }
    
    fun main() {
      ParseResponseWithMoshi().run()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.6K bytes
    - Viewed (0)
Back to top