首页 > 其他分享 >deploy-your-site

deploy-your-site

时间:2024-02-05 14:25:59浏览次数:28  
标签:deploy site static build folder your

sidebar_position: 5

Deploy your site

Docusaurus is a static-site-generator (also called Jamstack).

It builds your site as simple static HTML, JavaScript and CSS files.

Build your site

Build your site for production:

npm run build

The static files are generated in the build folder.

Deploy your site

Test your production build locally:

npm run serve

The build folder is now served at http://localhost:3000/.

You can now deploy the build folder almost anywhere easily, for free or very small cost (read the Deployment Guide).

标签:deploy,site,static,build,folder,your
From: https://www.cnblogs.com/ameng666/p/18007883

相关文章

  • k8s-资源调度(deploy,sts,ds)
    目录1.1ReplicationController和ReplicaSet1.1.1ReplicationController(RC)1.1.2ReplicaSet1.2无状态应用管理Deployment1.2.1创建一个Deployment1.2.2更新Deployment1.2.3回滚Deployment1.2.4扩容Deployment1.2.5暂停和恢复Deployment更新1.2.6更新Deploymen......
  • App requires Multidex support Multidex support is required for your android app
    flutterandroid报错64k!]ApprequiresMultidexsupportMultidexsupportisrequiredforyourandroidapptobuildsincethenumberofmethodshasexceeded64k.Seehttps://docs.flutter.dev/deployment/android#enabling-multidex-supportformoreinformation......
  • 【每周一读】Optimize your RAG pt.1 - Data ingestion
    今天与其说是阅读笔记更像是摘录与翻译...本来都用了引用块,但格式不太好看就还是改成正文了。以下英文部分全是原文引用。原文......
  • Imdeploy笔记
    Smiling&Weeping----天气不好的时候,我会小心地把自己心上的裂缝补起来。为什么?... LMDeploy的量化和部署1环境配置2服务部署2.1模型转换2.1.1在线转换2.1.2离线转换2.2TurboMind推理+命令行本地对话2.3TurboMind推理......
  • 在K8S中,deploy创建过程包括什么?
    在Kubernetes(简称K8s)中,创建一个Deployment的过程主要包括以下步骤:编写DeploymentYAML文件:首先,需要使用YAML格式编写一个描述Deployment的配置文件。这个文件定义了Deployment的关键属性,如副本数(replicas)、容器镜像、Pod模板以及健康检查等。例如,创建一个运行Nginx服务的Dep......
  • 在K8S中,deploy升级过程包括什么?
    在Kubernetes(K8S)中,Deployment的升级过程主要包括以下几个步骤:更新Deployment配置:当需要对应用程序进行升级时,通常会更新Deployment的YAML配置文件,可以更改的内容包括但不限于:容器镜像版本(从v1.0升级到v2.0)应用配置(环境变量、命令参数等)资源请求与限制更新策略和其他......
  • 在K8S中,deploy和Statefulset有何区别?
    在Kubernetes(K8s)中,Deployment和StatefulSet是两种不同类型的控制器对象,它们设计用于管理Pod的生命周期,但在管理和部署的应用程序类型、持久性保证以及Pod标识等方面存在显著区别:Deployment:无状态应用:Deployment主要用于部署无状态服务,即服务实例之间可以相互替换且不需要保留......
  • OpenIM (Open-Source Instant Messaging) Mac Deployment Guide
    Thisguideprovidesstep-by-stepinstructionsfordeployingOpenIMonaMac,includingbothsourcecodeandDockerdeploymentmethods.##PreliminaryEnvironmentSetupEnsureacleanworkingenvironment:1.**CreateaNewDirectory**:Startinanewdirec......
  • 在K8S中,deploy的yaml如何编写?
    在Kubernetes(简称K8s)中,编写一个Deployment的YAML文件通常包括以下几个关键部分:点击查看代码apiVersion:apps/v1#KubernetesAPI版本,根据你的集群版本选择合适的API版本kind:Deployment#资源类型为Deploymentmetadata:name:my-deployment#部署的名称namesp......
  • OpenIM Open Source Instant Messaging Project Docker Compose Deployment Guide
    ThedeploymentofOpenIMinvolvesmultiplecomponentsandsupportsvariousmethodsincludingsourcecode,Docker,andKubernetes.Thisrequiresensuringcompatibilitybetweendifferentdeploymentmethodsandeffectivelymanagingdifferencesbetweenversio......