Skip to content

Latest commit

 

History

History
27 lines (20 loc) · 934 Bytes

README.md

File metadata and controls

27 lines (20 loc) · 934 Bytes

Welcome to the NAIS documentation repo!

This repository is used to build a mkdocs site hosted on https://doc.nais.io!

All documentation content resides inside the docs folder, with the general structure of the website defined in mkdocs.yml's nav-yaml key.

Local preview-environment set-up

*NB: Due to limitations in the built-in mkdocs serve's hot-reload feature, the described set-up relies on dodgy Docker networking.

Requirements

  • docker
  • docker-compose

How to set-up local preview environment

docker-compose up --detach --build && open localhost:8080

GCP set-up

First, ensure you're logged into GCP

gcloud auth login --update-adc

Then, run terraform

cd terraform/
&& terraform init -backend-config="bucket=terraform-prod-235011" \
&& terraform apply

Et voilá! Presto!