This tutorial is intended for beginners, if you think there is an error in the command or word, please contribute.
InstallPermanent link
You needed to have git, nodejs, and npm installed. You can follow the installation guide in their respective page. Then, run those commands.
git clone https://github.com/w3teal/11ty-beer ./my-blog
cd ./my-blog
npm install
npm startIf you wonder how to edit the configuration file or create the markdown files, you needed an code editor like Visual Studio Code, and I recommend you to install Better Nunjucks for .njk formatting.
And then, you can check the configuration post, and configure it to your liking.
To start writing an new post, you can check the writing post.
PublishPermanent link
After done polishing, you should publish it and share to anyone! But, if you still not familiar on how to using git in CLI. Here the steps.
You need to have an GitHub account, and then apply your git credentials the same as your GitHub account, it will appear in the commit history of the repository.
git config --global user.name "Your Name"
git config --global user.email "your@email.com"
# and you can check what applied...
git config --listBack into the repository directory, we needed to initialize the repository, and publish it by push.
git init
git add .
git commit -m "i make blahblahblah..."
git push -u origin mainAnd to deploy it, you can use Vercel, Netlify, or other deploy services. And then, simply add the repository into that deploy service
