在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:stackedit开源软件地址:https://gitee.com/LoongText/stackedit开源软件介绍:StackEdit
Ecosystem
Build# install dependenciesnpm install# serve with hot reload at localhost:8080npm start# build for production with minificationnpm run build# build for production and view the bundle analyzer reportnpm run build --report Deploy with HelmStackEdit Helm chart allows easy StackEdit deployment to any Kubernetes cluster.You can use it to configure deployment with your existing ingress controller and cert-manager. # Add the StackEdit Helm repositoryhelm repo add stackedit https://benweet.github.io/stackedit-charts/# Update your local Helm chart repository cachehelm repo update# Deploy StackEdit chart to your clusterhelm install --name stackedit stackedit/stackedit \ --set dropboxAppKey=$DROPBOX_API_KEY \ --set dropboxAppKeyFull=$DROPBOX_FULL_ACCESS_API_KEY \ --set googleClientId=$GOOGLE_CLIENT_ID \ --set googleApiKey=$GOOGLE_API_KEY \ --set githubClientId=$GITHUB_CLIENT_ID \ --set githubClientSecret=$GITHUB_CLIENT_SECRET \ --set wordpressClientId=\"$WORDPRESS_CLIENT_ID\" \ --set wordpressSecret=$WORDPRESS_CLIENT_SECRET Later, to upgrade StackEdit to the latest version: helm repo updatehelm upgrade stackedit stackedit/stackedit If you want to uninstall StackEdit: helm delete --purge stackedit If you want to use your existing ingress controller and cert-manager issuer: # See https://docs.cert-manager.io/en/latest/tutorials/acme/quick-start/index.htmlhelm install --name stackedit stackedit/stackedit \ --set dropboxAppKey=$DROPBOX_API_KEY \ --set dropboxAppKeyFull=$DROPBOX_FULL_ACCESS_API_KEY \ --set googleClientId=$GOOGLE_CLIENT_ID \ --set googleApiKey=$GOOGLE_API_KEY \ --set githubClientId=$GITHUB_CLIENT_ID \ --set githubClientSecret=$GITHUB_CLIENT_SECRET \ --set wordpressClientId=\"$WORDPRESS_CLIENT_ID\" \ --set wordpressSecret=$WORDPRESS_CLIENT_SECRET \ --set ingress.enabled=true \ --set ingress.annotations."kubernetes\.io/ingress\.class"=nginx \ --set ingress.annotations."cert-manager\.io/cluster-issuer"=letsencrypt-prod \ --set ingress.hosts[0].host=stackedit.example.com \ --set ingress.hosts[0].paths[0]=/ \ --set ingress.tls[0].secretName=stackedit-tls \ --set ingress.tls[0].hosts[0]=stackedit.example.com |
请发表评论