0013
This commit is contained in:
@@ -1,47 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>How to create a static website with Jekyll and deploy it on GitHubPages</title>
|
||||
<link rel="stylesheet" href="/assets/css/styles.css">
|
||||
</head>
|
||||
<body>
|
||||
<nav>
|
||||
|
||||
<a href="/website/index.html" >Home</a>
|
||||
|
||||
<a href="/website/about.html" >About</a>
|
||||
|
||||
<a href="/website/blog.html" >Blog</a>
|
||||
|
||||
</nav>
|
||||
<h1>How to create a static website with Jekyll and deploy it on GitHubPages</h1>
|
||||
<p>20 Sep 2022 - Aaron</p>
|
||||
|
||||
<p>Create a GitHub-account: https://github.com/</p>
|
||||
<p>Create a repository on GitHub: https://github.com/</p>
|
||||
<p>(It has to be public if you use GitHub Free, note that your code will be visible to everyone!)</p>
|
||||
<p>Clone the repository to a local directory:</p>
|
||||
<p>SSH</p>
|
||||
<p>$ git clone --recursive $SSH_URL</p>
|
||||
<p>HTTPS</p>
|
||||
<p>$ git -c http.sslVerify=false clone --recursive $HTTPS_URL</p>
|
||||
<p>Create two directories: docs and localDev.</p>
|
||||
<p>$ mkdir docs</p>
|
||||
<p>$ mkdir localDev</p>
|
||||
<p>Follow instructions on: https://docs.github.com/en/pages/setting-up-a-github-pages-site-with-jekyll/creating-a-github-pages-site-with-jekyll</p>
|
||||
<p>Deploy: https://jekyllrb.com/docs/step-by-step/10-deployment/</p>
|
||||
<p>JEKYLL_ENV=production bundle exec jekyll build</p>
|
||||
<nav>
|
||||
|
||||
<a href="/website/terms.html" >Terms</a>
|
||||
|
||||
<a href="/website/privacy.html" >Privacy</a>
|
||||
|
||||
<a href="/website/blog.html" >Blog</a>
|
||||
|
||||
<a href="/website/imprint.html" >Imprint</a>
|
||||
|
||||
</nav>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user