→ Jekyll
-
Install [Ruby]
- On Windows, download the latest version with DevKit from the Download page and execute it, agree to run
ridk install
at the end
- On Windows, download the latest version with DevKit from the Download page and execute it, agree to run
-
Install jekyll gem
- Run
gem install bundler jekyll
- Run
Open the terminal at the root folder and run bundle exec jekyll serve
This code base was made by using the command: jekyll new my-website
# checks docker is working
docker run hello-world
# checks make utility is present
make --version
# creates a new projet
mkdir jekyll-site
cd jekyll-site
docker run -v $(pwd):/srv/jekyll jekyll/jekyll:latest jekyll new .
# starts web server (open http://localhost:4000/ in a browser)
docker run -v $(pwd):/srv/jekyll -p 4000:4000 -it jekyll/jekyll:latest jekyll serve
See alcher.dev