On Termux:
Install jekyll
pkg install ruby
ruby --version
gem install jekyll
# Many Jekyll plugins depend on nokogiri
# TermUX https://nokogiri.org/tutorials/installing_nokogiri.html#other-installation-scenarios
pkg install ruby clang make pkg-config libxslt
gem install nokogiri --platform=ruby -- --use-system-libraries
Usage
jekyll new MySite
cd MySite
# New jekyl 4.2.1 does not include webrick
# need to add manually
bundle add webrick
bundle install
# View local
bundle exec jekyll serve --future
Create a new github repo
As a general security practice, do not use an important Github account, like your secret cooperation account, for this because we are going to use a 3rd party services) to access the account in the next step.
You can create a new private repository manually via GitHub web, or use CLI
gh repo create veluka.
We can use a private repository since we are going to publish the website on Netlify.
Now
git push
Deploy to Netlify
Read this guide
Add Netlify CMS
Read: https://www.netlifycms.org/docs/add-to-your-site
And: https://www.netlifycms.org/docs/configuration-options
Other related Posts:
[[2021-10-21-how-to-create-new-github-repository-from-cli-and-set-new-git-url]] [[2021-10-14-github-delete-all-your-commit-history]] [[2021-10-05-find-the-most-popular-fork-on-github]] [[2021-09-22-improve-your-programming-skills-and-code-quality-quickly-with-prs-on-github]] [[2021-09-20-git-log-and-compare-command]] [[2021-09-17-create-github-token]] [[2021-09-17-auto-build-and-release-apk-on-github-with-github-actions]] [[2021-09-16-generate-ssh-key-for-github-git-on-termux]] [[2021-09-09-fix-github-page-custom-domain-ssl-problem-with-cloudflare-ssl]] [[