Browse Source

Updated URLs.

dev
Franco Masotti 1 year ago
parent
commit
39d6345df8
Signed by: frnmst
GPG Key ID: 24116ED85666780A
  1. 8
      _posts/2021-02-21-an-alternative-to-github-pages.md

8
_posts/2021-02-21-an-alternative-to-github-pages.md

@ -1,7 +1,7 @@
---
title: An alternative to GitHub Pages
tags: [hosting, gitlab, github, github-pages]
updated: 2021-02-21 19:04
updated: 2021-03-15 16:28
description: A DIY alternastive to GitHub and GitLab pages
---
@ -10,7 +10,7 @@ Following what I have written in a [previous post]({% post_url 2021-02-17-new-ho
<!--excerpt_end-->
I created a `docs.` virual host in Apache. Each repository documentation is contained in a distinct directory
under that domain (and directory). For example [md-toc](https://software.frnmst.duckdns.org/frnmst/md-toc/) is under [docs.frnmst.duckdns.org/md-toc/](https://docs.frnmst.duckdns.org/md-toc/)
under that domain (and directory). For example [md-toc](https://software.franco.net.eu.org/frnmst/md-toc/) is under [docs.franco.net.eu.org/md-toc/](https://docs.franco.net.eu.org/md-toc/)
The first time you set up the pages do the following:
@ -46,7 +46,7 @@ The first time you set up the pages do the following:
# SOFTWARE.
TMP_GIT_CLONE=""${HOME}"/tmp/myrepo"
PUBLIC_WWW='/var/www/docs.frnmst.duckdns.org/myrepo'
PUBLIC_WWW='/var/www/docs.franco.net.eu.org/myrepo'
git clone "${GIT_DIR}" "${TMP_GIT_CLONE}"
rm -rf "${PUBLIC_WWW}"/*
@ -58,4 +58,4 @@ The first time you set up the pages do the following:
As you can see these instructions are not very different from this [blog post from GitLab](https://about.gitlab.com/blog/2016/04/07/gitlab-pages-setup/#add-gitlab-ci).
Finally follow the usual standards, starting from
[this version](https://software.frnmst.duckdns.org/frnmst/fpydocs/raw/commit/bd60eb940cb3d82654e3085e7d51ddffb69cc00f/docs/workflow_common.rst).
[this version](https://software.franco.net.eu.org/frnmst/fpydocs/raw/commit/bd60eb940cb3d82654e3085e7d51ddffb69cc00f/docs/workflow_common.rst).

Loading…
Cancel
Save