geovannycordero.github.io

geovannycordero.github.io

Personal page to add my blog and information about my career and interests.

My Personal Page

Build with Jekyll

I'm finding alternatives to create my personal page. I decide to start with Jekylls. I'm going to add the parts that I think that are important to my site.

About Jekyll: Jekyll is a static site generator. You give it text written in your favorite markup language and it uses layouts to create a static website. You can tweak how you want the site URLs to look like, what data gets displayed on the site, and more. Visit the official page for more.

Setup

Requirements

Jekyll on Debian

Install the required dependencies:

sudo apt install ruby-full build-essential zlib1g-dev

Set up a gem installation directory for your user account, so add environment variables to your ~/.bashrc file to configure the gem installation path.

$ echo '# Install Ruby Gems to ~/gems' >> ~/.bashrc
$ echo 'export GEM_HOME="$HOME/gems"' >> ~/.bashrc
$ echo 'export PATH="$HOME/gems/bin:$PATH"' >> ~/.bashrc
$ source ~/.bashrc

Finally, install Jekyll:

gem install jekyll bundler

Project setup

Install dependencies:

bundle install

Optional: Into the project directory, builds the site and outputs a static site to a directory called _site.

jekyll build

Finally, in your project directory, build the site and make it available on a local server.

bundle exec jekyll serve

bundle exec jekyll serve if something wrong happen

After that, your project is running on http://127.0.0.1:4000/