hrshadhin.me Website
It's a static website that build with Jekyll using Beautiful Jekyll theme.
- Ruby version 2.5.0 or above, including all development headers (ruby version can be checked by running
ruby -v
) - RubyGems (which you can check by running
gem -v
) - GCC and Make (in case your system doesn't have them installed, which you can check by running
gcc -v
,g++ -v
andmake -v
in your system's command line interface)
-
Install a full Ruby development environment.
-
Install Jekyll and bundler gems.
gem install jekyll bundler
-
Change into your
hrshadhin.me
directorycd hrshadhin.me
-
Build the site and make it available on a local server.
bundle exec jekyll serve
orjekyll serve
-
Browse to http://localhost:4000
-
Build the site for deployment
jekyll build
orjekyll b
Now copy_site
folder and deploy -
Here is some of the most common commands:
jekyll new PATH
- Creates a new Jekyll site with default gem-based theme at specified path. The directories will be created as necessary.jekyll new PATH --blank
- Creates a new blank Jekyll site scaffold at specified path.jekyll build
orjekyll b
- Performs a one off build your site to ./_site (by default).jekyll serve
orjekyll s
- Builds your site any time a source file changes and serves it locally.jekyll clean
- Removes all generated files: destination folder, metadata file, Sass and Jekyll caches.jekyll help
- Shows help, optionally for a given subcommand, e.g. jekyll help build.jekyll new-theme
- Creates a new Jekyll theme scaffold.jekyll doctor
- Outputs any deprecation or configuration issues.