Skip to content

Commit

Permalink
Adding atlantis landing page atlantis.run. Fixes runatlantis#3 (runat…
Browse files Browse the repository at this point in the history
…lantis#139)

* Adding atlantis landing page atlantis.run. Fixes runatlantis#3

* more docs on automated cert renewal
  • Loading branch information
anubhavmishra authored Aug 27, 2017
1 parent 487c98d commit 5426f51
Show file tree
Hide file tree
Showing 144 changed files with 15,653 additions and 1 deletion.
8 changes: 7 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,10 @@ end-to-end-deps: ## Install e2e dependencies
./scripts/e2e-deps.sh

end-to-end-tests: ## Run e2e tests
./scripts/e2e.sh
./scripts/e2e.sh

generate-website-html: ## Generate HTML for website
cd website/src && hugo -d ../html

upload-website-html: ## Upload generated website to s3
aws s3 sync website/html/ s3://atlantis.run/
44 changes: 44 additions & 0 deletions docs/generate-upload-certs.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# Generating and Upload Certs

*This process needs to be automated!*

* Generate Let's Encrypt certs for [atlantis.run](https://atlantis.run)

```bash
sudo certbot certonly --manual --server https://acme-v01.api.letsencrypt.org/directory -d atlantis.run -d www.atlantis.run
```

Follow the instructions after running the command

* Upload the certs to AWS to be used by Cloudfront

```bash
sudo aws iam upload-server-certificate --server-certificate-name atlantis_run_lets_encrypt_cert --certificate-body file:///etc/letsencrypt/live/atlantis.run/cert.pem --private-key file:///etc/letsencrypt/live/atlantis.run/privkey.pem --certificate-chain file:///etc/letsencrypt/live/atlantis.run/chain.pem --path /cloudfront/certs/
```

## Automated Process using certbot-s3front

* First get your certbot installation path

```bash
cat $(which certbot) | head -1
#!/usr/local/Cellar/certbot/0.17.0_1/libexec/bin/python2.7
```

* Use the `pip` found in the `bin` folder from the above path to install certbot-s3front

```bash
/usr/local/Cellar/certbot/0.17.0_1/libexec/bin/pip install certbot-s3front
```

* Run the following command with aws credentials from lastpass

```bash
AWS_ACCESS_KEY_ID="REPLACE_WITH_YOUR_KEY" \
AWS_SECRET_ACCESS_KEY="REPLACE_WITH_YOUR_SECRET" \
certbot --agree-tos -a certbot-s3front:auth \
--certbot-s3front:auth-s3-bucket atlantis.run \
-i certbot-s3front:installer \
--certbot-s3front:installer-cf-distribution-id DISTRIBUTION_ID \
-d atlantis.run
```
Binary file added website/html/.DS_Store
Binary file not shown.
Empty file added website/html/.gitkeep
Empty file.
1 change: 1 addition & 0 deletions website/html/404.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<p>not found</p>
172 changes: 172 additions & 0 deletions website/html/blog/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,172 @@
<!DOCTYPE html>
<html lang="en-us">

<head>
<meta name="generator" content="Hugo 0.26" />
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title> Blogs </title>







<meta name="robots" content="noindex">




<meta name="author" content="">


<meta property="og:title" content="Blogs" />
<meta property="og:description" content="" />
<meta property="og:type" content="website" />
<meta property="og:url" content="http://atlantis.run/blog/" />



<meta property="og:updated_time" content="2017-03-02T21:56:55&#43;01:00"/>




















<link href="http://atlantis.run/blog/index.xml" rel="alternate" type="application/rss+xml" title="Atlantis - A unified workflow for collaborating on Terraform through GitHub" />

<link rel="canonical" href="http://atlantis.run/blog/">

<link rel="shortcut icon" type="image/png" href="/img/logo-384x384.png">


<link href="/css/font.css" rel="stylesheet" type="text/css">
<link href="/css/kube.min.css" rel="stylesheet" type="text/css">
<link href="/css/kube.legenda.css" rel="stylesheet" type="text/css">
<link href="/css/highlight.css" rel="stylesheet" type="text/css">
<link href="/css/master.css" rel="stylesheet" type="text/css">
<link href="/css/kube.demo.css" rel="stylesheet" type="text/css">

<link href="/css/custom.css" rel="stylesheet" type="text/css">

<script src="/js/jquery-2.1.4.min.js" type="text/javascript">
</script>

<script type="text/javascript" src="/js/tocbot.min.js"></script>
<script async defer src="https://buttons.github.io/buttons.js"></script>
</head>


<body class="page-kube">
<header> <div class="show-sm">
<div id="nav-toggle-box">
<div id="nav-toggle-brand">
<a href="/">Atlantis</a>
</div><a data-component="toggleme" data-target="#top" href="#" id="nav-toggle"><i class="kube-menu"></i></a>
</div>
</div>
<div class="hide-sm" id="top">
<div id="top-brand">
<a href="/" title="home">Atlantis</a>
</div>
<nav id="top-nav-main">
<ul>


<li><a href="/blog/" class="active">Blog</a></li>

<li><a href="/docs/" >Docs</a></li>

<li><a href="/faq/" >FAQ</a></li>

<li><a href="https://www.youtube.com/watch?v=TmIPWda0IKg" >Demo</a></li>

</ul>
</nav>
<nav id="top-nav-extra">
<ul>
<li>
<a class="github-button" href="https://github.com/hootsuite/atlantis" data-icon="octicon-star" data-size="large" aria-label="Star hootsuite/atlantis on GitHub">Star</a>
</li>
</ul>
</nav>
</div> </header>
<main>

<div id="hero" class="wrap">
<h1>Blog</h1>
<p>Coming soon....<br> </p>
</div>
<ul id="posts">

<div itemscope itemtype="http://schema.org/CreativeWork">
<h2 class="title">
<a href="http://atlantis.run/blog/welcome/" itemprop="headline">Welcome to Atlantis</a>
</h2>
<hr>

<p itemprop="about">First blog post!</p>

</div>

<section><nav class="pagination pager align-center">
<hr>
<ul>

<li>

<a href="" class="button round small outline">Page 1 of 1</a>
</li>

</ul>
</nav></section>
</ul>

</main>
<footer>
<footer id="footer">
<nav>
<ul>
<li><span>Made with &lt;3 by the Owls at </span><strong>Hootsuite</strong></li>
<li>
<a href="/blog/">Blog</a>
</li>
<li>
<a href="/docs/">Docs</a>
</li>
<li>
<a href="/faq/">FAQ</a>
</li>
</ul>
</nav>
<p>&copy; Apache License 2.0.</p>
</footer>
</footer>


<script src="/js/kube.js" type="text/javascript">
</script>
<script src="/js/kube.legenda.js" type="text/javascript">
</script>
<script src="/js/master.js" type="text/javascript">
</script>
</body>

</html>
24 changes: 24 additions & 0 deletions website/html/blog/index.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Blogs on Atlantis - A unified workflow for collaborating on Terraform through GitHub</title>
<link>http://atlantis.run/blog/</link>
<description>Recent content in Blogs on Atlantis - A unified workflow for collaborating on Terraform through GitHub</description>
<generator>Hugo -- gohugo.io</generator>
<language>en-us</language>
<lastBuildDate>Thu, 02 Mar 2017 21:56:55 +0100</lastBuildDate>

<atom:link href="http://atlantis.run/blog/index.xml" rel="self" type="application/rss+xml" />


<item>
<title>Welcome to Atlantis</title>
<link>http://atlantis.run/blog/welcome/</link>
<pubDate>Thu, 02 Mar 2017 21:56:55 +0100</pubDate>

<guid>http://atlantis.run/blog/welcome/</guid>
<description> Welcome to Atlantis - This is the first post from us! </description>
</item>

</channel>
</rss>
1 change: 1 addition & 0 deletions website/html/blog/page/1/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<!DOCTYPE html><html><head><title>http://atlantis.run/blog/</title><link rel="canonical" href="http://atlantis.run/blog/"/><meta name="robots" content="noindex"><meta http-equiv="content-type" content="text/html; charset=utf-8" /><meta http-equiv="refresh" content="0; url=http://atlantis.run/blog/" /></head></html>
Loading

0 comments on commit 5426f51

Please sign in to comment.