dinhanhthi / dinhanhthi.com-v3

The 3rd version of my personal website written in Jekyll.

Home Page:https://v3.dinhanhthi.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

v3.dinhanhthi.com Netlify Status

Source code of my personal website (using Jekyll). If you would like to use this source code, please indicate me in the credit and let me know first, thanks! My email: dinhanhthi@gmail.com.

🚀 Demo: https://v3.dinhanhthi.com

🔥 Current version: https://dinhanhthi.com

Some screenshots.

Home page

About page

Note page

Post page

How to use quickly?

  1. Clone to your github.
  2. Create a Netlify account.
  3. Link Netlify to your account.
  4. Create a new site and link to the cloned repo.
  5. Wait for Netlify to build your site.
  6. Voila.

Build and deploy locally

Using docker?

# Open Gemfile and comment out "jekyll-feed" and "jeyll-sitemap" and then
git update-index --assume-unchanged Gemfile

# build container
cd docker
docker-compose -p "dat" up -d
# wait a little bit for it to build at the 1st time

# whenever working
docker start dat_local
# NOTE: for the 1st run, it takes a little long time to build and serve
# You can check what are running on background with
docker attach dat_local

# update changes for principle pages
sh update_dat.sh

From scratch

Note: On Windows, you should use WSL2 to run Jekyll site.

After cloning to a local server, run these:

# install git

# install ruby
ruby --version

# install bundler
gem install bundler

# cd to the repo directory and install gems
bundle install

# run the server (http://localhost:4000)
bundle exec jekyll serve

# incremental build (only build the changes, faster)
bundle exec jekyll serve -I

# build also the posts in `_drafts`
bundle exec jekyll serve --draft

About

The 3rd version of my personal website written in Jekyll.

https://v3.dinhanhthi.com


Languages

Language:HTML 96.2%Language:CSS 1.6%Language:SCSS 0.9%Language:Jupyter Notebook 0.8%Language:JavaScript 0.3%Language:Ruby 0.3%Language:Shell 0.0%