config file will require a server restart in able for the changes to take effect. This log will remain active and up to date as long as the project is running. You can see if these changes have been successfully implemented by viewing the active log on at the terminal.
#Making a website in ruby jekyll tutorial code
While editing our Jekyll project files, front end changes to our code will be able to take effect immediately upon save and can be viewed upon reloading the page. In able to stop your project press the following key combination in the terminal (at the same time): After entering the URL to your localhost, you should see a page similar to this one By default, all Jekyll projects run locally on port 4000, hence, the address “localhost:4000”. Now that we have our project up and running on a local server we can take a look at the active project by entering the URL address “localhost:4000” within any browser of your choice while the application is running. Now that we have our project directory created, navigate into it from within the terminal and launch it using the following command: From the terminal, navigate to your Desktop and run the following command to create a project entitled ‘myjekyllsite’:
Luckily, this is can be done with a simple command from within the terminal. In able to begin building our jekyll site, we must first create the project directory. Just as the step before, YMMV depending on your programming experience.įor a visual representation of the power of Jekyll, here are some sites that were created with it:Īs you can see from both the Tom Preston-Werner and Rasmus Andersson pages, but most notably the Tom Preston-Werner page, Jekyll functions primarily as a blog site with the ease of displaying and creating pages as posts.
#Making a website in ruby jekyll tutorial generator
Jekyll is a static site generator used to create websites that exist as a directory of files.