Browse Source

Self hosting.

master
Franco Masotti 10 months ago
parent
commit
d07c415109
Signed by: frnmst GPG Key ID: 24116ED85666780A
  1. 1
      .gitignore
  2. 5
      Gemfile
  3. 8
      Makefile
  4. 4
      _config.yml

1
.gitignore

@ -1,3 +1,4 @@
/Gemfile.lock
/Pipfile.lock
_site/
.sass-cache/

5
Gemfile

@ -0,0 +1,5 @@
source 'https://rubygems.org'
gem 'jekyll', '~>4.0'
gem 'jekyll-sitemap'
gem 'forwardable', '=1.2.0'

8
Makefile

@ -16,15 +16,15 @@ uninstall-dev:
all: clean build serve-global
build:
@jekyll build --trace --strict_front_matter --verbose --safe -t --future
bundle exec jekyll build --trace --strict_front_matter --verbose --safe -t --future
serve:
@jekyll serve --trace --future
bundle exec jekyll serve --trace --future
serve-global:
@jekyll serve --trace --host=0.0.0.0 --port=$(PORT) --future
bundle exec jekyll serve --trace --host=0.0.0.0 --port=$(PORT) --future
clean:
@rm -rf _site
rm -rf _site
.PHONY: default install-dev uninstall-dev all build serve serve-global clean

4
_config.yml

@ -4,7 +4,7 @@ description: "A blog about computer experiences and everything else"
website:
# This should point to your website source.
source: "https://gitlab.com/frnmst/frnmst.gitlab.io"
source: "https://software.frnmst.duckdns.org/frnmst/blog"
license:
url: "https://creativecommons.org/licenses/by-sa/4.0/"
name: "CC-BY-SA 4.0"
@ -138,7 +138,7 @@ defaults:
## Other Params
include: [ "_pages" ]
exclude: [ "LICENSE", "README.md", "CNAME", "vendor", "Gemfile", "Makefile", "Pipfile", "Pipfile.lock", ".pre-commit-config.yaml" ]
exclude: [ "LICENSE", "README.md", "CNAME", "vendor", "Gemfile", "Makefile", "Pipfile", "Pipfile.lock", ".pre-commit-config.yaml", "Gemfile" ]
## Ruby gems
plugins:

Loading…
Cancel
Save