jelaiw / blog

https://jelaiw.github.io/blog/
0 stars 0 forks source link

Create site with Jekyll #4

Closed jelaiw closed 4 months ago

jelaiw commented 4 months ago

https://docs.github.com/en/pages/setting-up-a-github-pages-site-with-jekyll/creating-a-github-pages-site-with-jekyll

jelaiw commented 4 months ago

Tinker with steps 6-7.

$ jekyll --version
jekyll 4.3.3
$ jekyll new --skip-bundle .
          Conflict: /workspaces/jelaiw.github.io exists and is not empty.
                    Ensure /workspaces/jelaiw.github.io is empty or else try again with `--force` to proceed and overwrite any files.
$ mkdir docs
$ cd docs
$ jekyll new --skip-bundle .
New jekyll site installed in /workspaces/jelaiw.github.io/docs. 
Bundle install skipped. 
jelaiw commented 4 months ago

Because the repo is just for the blog, this seems indicated.

$ jekyll new --skip-bundle --force .
New jekyll site installed in /workspaces/jelaiw.github.io. 
Bundle install skipped. 
jelaiw commented 4 months ago

Edit Gemfile as described in step 10.

https://pages.github.com/versions/

Latest version of github-pages gem as of today is 231.

jelaiw commented 4 months ago

Step 12

$ bundle install
Fetching gem metadata from https://rubygems.org/...........
Resolving dependencies...
Fetching bigdecimal 3.1.8
Fetching base64 0.2.0
Installing base64 0.2.0
Installing bigdecimal 3.1.8 with native extensions
Fetching concurrent-ruby 1.3.3
Installing concurrent-ruby 1.3.3
Fetching connection_pool 2.4.1
Installing connection_pool 2.4.1
Fetching drb 2.2.1
Installing drb 2.2.1
Fetching minitest 5.24.1
Installing minitest 5.24.1
Fetching mutex_m 0.2.0
Installing mutex_m 0.2.0
Fetching public_suffix 5.1.1
Installing public_suffix 5.1.1
Fetching coffee-script-source 1.12.2
Installing coffee-script-source 1.12.2
Fetching execjs 2.9.1
Installing execjs 2.9.1

--- SNIP ---

Installing minima 2.5.1
Fetching github-pages 231
Installing github-pages 231
Bundle complete! 7 Gemfile dependencies, 94 gems now installed.
Use `bundle info [gemname]` to see where a bundled gem is installed.
Post-install message from dnsruby:
Installing dnsruby...
  For issues and source code: https://github.com/alexdalitz/dnsruby
  For general discussion (please tell us how you use dnsruby): https://groups.google.com/forum/#!forum/dnsruby
Post-install message from sass:

Ruby Sass has reached end-of-life and should no longer be used.

* If you use Sass as a command-line tool, we recommend using Dart Sass, the new
  primary implementation: https://sass-lang.com/install

* If you use Sass as a plug-in for a Ruby web framework, we recommend using the
  sassc gem: https://github.com/sass/sassc-ruby#readme

* For more details, please refer to the Sass blog:
  https://sass-lang.com/blog/posts/7828841

Post-install message from html-pipeline:
-------------------------------------------------
Thank you for installing html-pipeline!
You must bundle Filter gem dependencies.
See html-pipeline README.md for more details.
https://github.com/jch/html-pipeline#dependencies
-------------------------------------------------
Post-install message from rubyzip:
RubyZip 3.0 is coming!
**********************

The public API of some Rubyzip classes has been modernized to use named
parameters for optional arguments. Please check your usage of the
following classes:
  * `Zip::File`
  * `Zip::Entry`
  * `Zip::InputStream`
  * `Zip::OutputStream`

Please ensure that your Gemfiles and .gemspecs are suitably restrictive
to avoid an unexpected breakage when 3.0 is released (e.g. ~> 2.3.0).
See https://github.com/rubyzip/rubyzip for details. The Changelog also
lists other enhancements and bugfixes that have been implemented since
version 2.3.0.