]> git.immae.eu Git - github/fretlink/terraform-provider-mailgun.git/blame - scripts/launch-website.sh
fix comment
[github/fretlink/terraform-provider-mailgun.git] / scripts / launch-website.sh
CommitLineData
87e93609
AG
1#!/usr/bin/env bash
2
326af631 3# sleep and the sub-command are there to make sure wget is called *after* `make website` has started. This ensures the website to be fetched correctly.
87e93609
AG
4(sleep 10;
5wget --recursive --no-parent --domains localhost --page-requisites --html-extension --convert-links --no-clobber http://localhost:4567/docs/providers/mailgun/;
6
7rm -rf terraform-provider-website;
8mv localhost:4567/ terraform-provider-website;
1e4cb933 9mv index.html terraform-provider-website/index.html
87e93609
AG
10
11docker stop "$(docker ps -q)") &
12
13make website