Note: This is an updated version of the legacy workflow for Flightdeck for Jekyll. The Parcel version is the recommended workflow going forward, unless you want to use Eleveny as your static site generator, then check out Flightdeck instead.
To install this project, you'll need the following things installed on your machine.
- Jekyll & Bundler -
$ gem install jekyll bundler
(We assume that you have Ruby installed already) - NodeJS & PNPM - use the installer, Homebrew, etc.
Although your editor is a very personal thing - we'd suggest that you'd consider using Visual Studio Code with the Jekyll Snippets Extension - with the power of IntelliSense you'll get snippets to speed up your Jekyll development as well as syntax highlighting for Liquid.
-
Clone this repo, or download it into a directory of your choice.
git clone https://github.com/edheltzel/flightdeck-for-jekyll-with-parcel.git flightdeck
-
Inside the directory, run
pnpm install
-> FYI you can useyarn
ornpm
in place ofpnpm
cd flightdeck pnpm install
Note: you can replace pnpm
with yarn
or npm
in the following commands.
This will give you file watching, browser synchronisation, auto-rebuild, CSS injecting etc.
pnpm start
This will set the JEKYLL_ENV
to production
and use the production config file(s) set in flightdeck.manifest.js
to override default setting.
You can easily deploy your site build with the command.
pnpm run build
To display all available commands just run:
pnpm run
As this is just a Jekyll project, you can use any of the commands listed in their docs