/deconst-docs-control

Control repository for the self-hosted deconst-docs documentation.

Primary LanguageHTMLApache License 2.0Apache-2.0

deconst-docs-control

Build Status

Control repository for the self-hosted deconst-docs documentation.

Deconst Dev Env in Kubernetes with Minikube

  1. If necessary, deploy the deconst docs

  2. Open a new shell

  3. Submit the control repo assets to the content service

    The CONTENT_STORE_APIKEY must match the ADMIN_APIKEY set when deploying the content service.

    docker run -it --rm \
      --env CONTENT_STORE_URL=$(minikube service --url --namespace deconst content) \
      --env CONTENT_STORE_APIKEY=${ADMIN_APIKEY} \
      --env TRAVIS_PULL_REQUEST=false \
      --volume "$(pwd)":/var/control-repo \
      quay.io/deconst/preparer-asset
  4. Open the deconst docs site in a browser

    minikube service --namespace deconst presenter
  5. Open the deconst staging docs site in a browser

    open $(minikube service --url --namespace deconst staging-presenter)/staging/