Built using Jekyll as a Static Site Generator, GitHub Pages as its CDN, and Netlify CMS as a Content Management System.
If you are using Docker then you don't need the requirements listed above.
-
Clone this repository
git clone https://github.com/smkn1pml/website.git
-
Change current directory to this repository folder
cd website
-
Install dependencies from Gemfile
bundle install
-
Run Jekyll
-
Live development
bundle exec jekyll serve
-
Build static site
JEKYLL_ENV=production bundle exec jekyll build
-
If you encounter problems during the installation process, please check the official Jekyll troubleshooting page here.
-
Live development
docker run --rm --volume="$PWD:/srv/jekyll" --volume="$PWD/vendor/bundle:/usr/local/bundle" --env JEKYLL_ENV=development -p 4000:4000 jekyll/jekyll:4.2.0 jekyll serve
-
Build static site
docker run --rm --volume="$PWD:/srv/jekyll" --volume="$PWD/vendor/bundle:/usr/local/bundle" --env JEKYLL_ENV=production jekyll/jekyll:4.2.0 jekyll build
References
Copyright (c) 2021 SMK Negeri 1 Pemalang.
Developed by Qopiku.
Code licensed under Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International.