This is the repository for the reflectoring.io blog on software engineering and Java topics.
- download and install ruby using the ruby installer (I have used Ruby+Devkit 2.6.5-1 successfully)
- open a console and run
ruby --versionto verify that it has been installed successfully (if this command seems to run forever, restart the computer and try again :) - in the folder you cloned this repo into, run
bundle install - run
bundle exec jekyll serveto start jekyll - go to http://localhost:4000 to view the blog in your browser
- changes to the markdown files should automatically trigger a re-start of jekyll (if not, kill the process with
CMD+Cand restart it)
- copy one of the existing blog post
.mdfiles from the_postsfolder into a new file - change the name of the file so that it contains today's date and your blog post title
- change the
dateandmodifiedfields in the file header to today's date (replace the+1100with the offset of your local timezone to UTC; the blog post will only show in the preview if these dates are in the past) - don't worry about the rest of the header fields, I will update them before publishing
- write the article in markdown format
- run
bundle exec jekyll serveto start up the blog locally - go to http://localhost:4000 to view the blog in your browser
- your blog post should show up on the start page; click on it and check if it looks good
Run sudo apt-get install --reinstall zlibc zlib1g zlib1g-dev to install the missing zlib library and rerun bundle install.
See the Write For Me page on the blog.