Writing a blog post about your experiences
Have you ported LittlevGL to a new platform? Have you created a fancy GUI? Do you know a great trick? You can share your knowledge on LittlevGL's blog! It's super easy to add your own post:
- Fork and clone the blog repository
- Add your post in Markdown to the
- Store the images and other resources in a dedicated folder in
- Create a Pull Request
Installing and Running Jekyll
The blog uses Jekyll to convert the
.md files to a webpage. You can easily run Jekyll offline to check your post before creating the Pull request.
A specific version of Bundle is needed for running Jekyll (1.12).
Here is a step-by-step guide for installing Ruby and Jekyll, building and serving the blog.
Please run these commands under
sudo apt-get install ruby-full build-essential zlib1g-dev echo '# Install Ruby Gems to ~/gems' >> ~/.bashrc echo 'export GEM_HOME="$HOME/gems"' >> ~/.bashrc echo 'export PATH="$HOME/gems/bin:$PATH"' >> ~/.bashrc
gem install jekyll bundler
Installing Blog's version of Bundler
gem install bundler -v 1.12 bundle _1.12_ install
Building and Serving the blog
bundle exec jekyll build bundle exec jekyll serve