]> git.immae.eu Git - github/fretlink/terraform-provider-mailgun.git/blob - scripts/launch-website.sh
add newline and commentary for clarity
[github/fretlink/terraform-provider-mailgun.git] / scripts / launch-website.sh
1 #!/usr/bin/env bash
2
3 #the sleep and the subquery & are here to ensure that wget is called after make website have done its work so that the website is gotten correctly
4 (sleep 10;
5 wget --recursive --no-parent --domains localhost --page-requisites --html-extension --convert-links --no-clobber http://localhost:4567/docs/providers/mailgun/;
6
7 rm -rf terraform-provider-website;
8 mv localhost:4567/ terraform-provider-website;
9 mv index.html terraform-provider-website/index.html
10
11 docker stop "$(docker ps -q)") &
12
13 make website