UNPKG

ultimate-jekyll-manager

Version:
90 lines (78 loc) 3.5 kB
<p align="center"> <a href="https://itwcreativeworks.com"> <img src="https://cdn.itwcreativeworks.com/assets/itw-creative-works/images/logo/itw-creative-works-brandmark-black-x.svg" width="100px"> </a> </p> <p align="center"> <img src="https://img.shields.io/github/package-json/v/itw-creative-works/ultimate-jekyll-manager.svg"> <br> <img src="https://img.shields.io/librariesio/release/npm/ultimate-jekyll-manager.svg"> <img src="https://img.shields.io/bundlephobia/min/ultimate-jekyll-manager.svg"> <img src="https://img.shields.io/codeclimate/maintainability-percentage/itw-creative-works/ultimate-jekyll-manager.svg"> <img src="https://img.shields.io/npm/dm/ultimate-jekyll-manager.svg"> <img src="https://img.shields.io/node/v/ultimate-jekyll-manager.svg"> <img src="https://img.shields.io/website/https/itwcreativeworks.com.svg"> <img src="https://img.shields.io/github/license/itw-creative-works/ultimate-jekyll-manager.svg"> <img src="https://img.shields.io/github/contributors/itw-creative-works/ultimate-jekyll-manager.svg"> <img src="https://img.shields.io/github/last-commit/itw-creative-works/ultimate-jekyll-manager.svg"> <br> <br> <a href="https://itwcreativeworks.com">Site</a> | <a href="https://www.npmjs.com/package/ultimate-jekyll-manager">NPM Module</a> | <a href="https://github.com/itw-creative-works/ultimate-jekyll-manager">GitHub Repo</a> <br> <br> <strong>Ultimate Jekyll</strong> is a template that helps you jumpstart your Jekyll sites and is fueled by an intuitive incorporation of npm, gulp, and is fully SEO optimized and blazingly fast. </p> ## 🦄 Features * **SEO Optimized**: Ultimate Jekyll is fully SEO optimized. * **Blazingly Fast**: Ultimate Jekyll is blazingly fast. * **NPM & Gulp**: Ultimate Jekyll is fueled by an intuitive incorporation of npm and gulp. ## 🚀 Getting started 1. [Create a repo](https://github.com/itw-creative-works/ultimate-jekyll/generate) from the **Ultimate Jekyll** template. 2. Clone the repo to your local machine. 3. Run these commands to get everything setup and sync'd! ```bash npm install npx uj setup npm start ``` ## 📦 How to sync with the template 1. Simply run `npm start` in Terminal to get all the latest updates from the **Ultimate Jekyll template** and launch your website in the browser. ## 🌎 Publishing your website 1. Change the `url` in `_config.yml` to your domain. 2. Push your changes to GitHub using `npm run dist` in Terminal. ## ⛳️ Flags * `--browser=false` - Disables the browser from opening when running `npm start`. ```bash npm start -- --browser=false ``` * `--debug=true` - Enables logging of extra information when running `npm start`. ```bash npm start -- --debug=true ``` * `--ujPluginDevMode=true` - Enables the development mode for the [Ultimate Jekyll Ruby plugin](https://github.com/itw-creative-works/jekyll-uj-powertools). ```bash npm start -- --ujPluginDevMode=true ``` ## Running Specific Tasks You can run specific tasks using the `npm run gulp` command with the appropriate task name. Some of these require environment variables to be set and other tasks to be run first. Here are some examples: ### Run the `audit` task: ```bash npx uj audit ``` ### Run the `translation` task: ```bash GH_TOKEN=XXX \ GITHUB_REPOSITORY=XXX \ UJ_TRANSLATION_CACHE=true \ npx uj translation ``` <!-- Developing --> ## 🛠 Developing 1. Clone the repo to your local machine. 2. Run these commands ```bash npm install npm run prepare:watch ```