jasba.blogg.se

Gem install jekyll bundler make
Gem install jekyll bundler make









gem install jekyll bundler make

When we invoked jekyll serve, Jekyll parsed the configuration and content files into a new directory, _site and started serving the content in that _site folder. Enable with -incrementalĪuto-regeneration: enabled for '/home/ sammy/www' Output of jekyll serverConfiguration file: /home/ sammy/www/_config.yml This avoids complications that can arise from system-wide installations, while also adding the local jekyll command to the user’s PATH.Īt the bottom of the file, add the following lines: bashrc file to instruct Ruby’s gem package manager to place gems in our user’s home folder. When that is complete, we will move on to adding two lines to our. sudo apt-get install ruby ruby-dev make build-essential.Then we’ll install Ruby and its development libraries as well as make and build-essential so that Jekyll’s libraries will compile once we install Jekyll: We’ll start by updating our package list to be sure we have the latest information on the newest versions of packages and their dependencies: Once you’ve completed this prerequisite, you’re ready to install Jekyll and its dependencies. An Ubuntu 16.04 server with a non-root user with sudo privileges: You can learn more about how to set up a user with these privileges in our Initial Server Setup with Ubuntu 16.04 guide.In later tutorials, we’ll explore the content generated here, publish a static site to the same server, and eventually deploy to a production location. In this tutorial, we will install a Jekyll 3.7.3 development site on Ubuntu 16.04. Jekyll is well-suited for people who need to work off-line, prefer using lightweight editors to web forms for content maintenance, and wish to use version control to track changes to their website. It is “blog-aware,” and includes special features to handle date-organized content, although its usefulness is not limited to blogging sites. Jekyll is a static-site generator that provides some of the benefits of a Content Management System (CMS) while avoiding the performance and security issues introduced by such database-driven sites.











Gem install jekyll bundler make