xarisd / xarisd.io

Source code that drives the personal web site of Haris Dimitriou (xarisd)

Home Page:http://xarisd.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

xarisd.io

You can enjoy it online at http://xarisd.io

About this repository

Here you can find the source code that drives the site.

The site is made with Jekyll and rake for automation awesomeness.

How to build/test the site

  1. You will need Ruby 2.1.2

  2. Install Bundler

gem install bundler
  1. Install the required gems (Ruby libraries needed)
bundle install
  1. Test the site:
  • Run the jekyll server locally with rake serve in your console (Ctrl + C to stop it)
  • Open http://localhost:4000 in your browser
  • And enjoy!
  1. Build the site for deployment
rake
  1. Deploy the site somewhere via FTP (the poor man's way)
  • You will need access to an FTP server
  • Create a configuration.yaml
rake setup

or by copying the configuration.example.yaml file by hand

  • Open configuration.yaml in an editor and put your FTP credentials (don't worry it is git ignored).
  • Run
    rake production deploy
  • And you are done!
  • If something goes wrong, you can always do it by hand: Just FTP-upload the contents of the _deploy folder to the proper location on your web server.
  1. Explore what else you can do with rake tasks (clean, show, copy and deploy presentations, etc)
rake -T

Tools used

About

Source code that drives the personal web site of Haris Dimitriou (xarisd)

http://xarisd.io

License:MIT License


Languages

Language:CSS 52.2%Language:HTML 25.0%Language:Ruby 22.8%