website

website

🌏 Website Utama NEPAL. Menggunakan Jekyll sebagai Static Site Generator, GitHub Pages sebagai CDN-nya, dan Netlify CMS sebagai Content Management System.

Main Website

Workflow Status

Built using Jekyll as a Static Site Generator, GitHub Pages as its CDN, and Netlify CMS as a Content Management System.

Development

Requirements

If you are using Docker then you don't need the requirements listed above.

Installation

  1. Clone this repository

    git clone https://github.com/smkn1pml/website.git
    
  2. Change current directory to this repository folder

    cd website
    
  3. Install dependencies from Gemfile

    bundle install
    
  4. Run Jekyll

    • Live development

      bundle exec jekyll serve
      
    • Build static site

      JEKYLL_ENV=production bundle exec jekyll build
      

Troubleshooting

If you encounter problems during the installation process, please check the official Jekyll troubleshooting page here.

Docker

  • 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

Additional Information

Copyright (c) 2021 SMK Negeri 1 Pemalang.

Developed by Shafima Dev.

License

Code licensed under Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International.