This commit is contained in:
WickedJack99
2022-09-20 22:49:32 +02:00
parent c6642a2127
commit f48a20915d
3 changed files with 27 additions and 47 deletions

View File

@@ -22,8 +22,19 @@
<li>
<h2><a href="website//2022/09/20/jekyll_&_github.html">How to create a static website with Jekyll and deploy it on GitHubPages</a></h2>
<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>
</li>
</ul>