1.3 KiB
1.3 KiB
title | permalink | redirect_from | |||
---|---|---|---|---|---|
Quickstart | /docs/ |
|
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, what data gets displayed on the site, and more.
Prerequisites
See [requirements]({{ '/docs/installation/#requirements' | relative_url }}).
Instructions
- Install a full [Ruby development environment]({{ '/docs/installation/' | relative_url }}).
- Install Jekyll and [bundler]({{ '/docs/ruby-101/#bundler' | relative_url }}) [gems]({{ '/docs/ruby-101/#gems' | relative_url }}).
gem install jekyll bundler
- Create a new Jekyll site at
./myblog
.
jekyll new myblog
- Change into your new directory.
cd myblog
- Build the site and make it available on a local server.
bundle exec jekyll serve
- Browse to http://localhost:4000{:target="_blank"}
If you encounter any errors during this process, see the [troubleshooting]({{ '/docs/troubleshooting/#configuration-problems' | relative_url }}) page. Also, make sure you've installed the development headers and other prerequisites as mentioned on the [requirements]({{ '/docs/installation/#requirements' | relative_url }}) page.