stackedit
v5.14.0
Éditeur Markdown complet complet et open-source basé sur Pagedown, la bibliothèque Markdown utilisée par Stack Overflow et les autres sites d'échange de pile.
https://stackedit.io/
# install dependencies
npm install
# serve with hot reload at localhost:8080
npm start
# build for production with minification
npm run build
# build for production and view the bundle analyzer report
npm run build --reportLe graphique de casque empilédit permet un déploiement EmpileDit facile à n'importe quel cluster Kubernetes. Vous pouvez l'utiliser pour configurer le déploiement avec votre contrôleur ingénéré existant et votre manager de certificat.
# Add the StackEdit Helm repository
helm repo add stackedit https://benweet.github.io/stackedit-charts/
# Update your local Helm chart repository cache
helm repo update
# Deploy StackEdit chart to your cluster
helm 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_SECRETPlus tard, pour mettre à niveau StackEdit vers la dernière version:
helm repo update
helm upgrade stackedit stackedit/stackeditSi vous voulez désinstaller empilEdit:
helm delete --purge stackeditSi vous souhaitez utiliser votre contrôleur entrant existant et votre émetteur de certificat:
# See https://docs.cert-manager.io/en/latest/tutorials/acme/quick-start/index.html
helm 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