- Ruby 3.1.x, Bundler 2.x
- Node >16, Yarn 3.x
- Install Devbox
- Run
devbox run dev
Install dependencies
yarn install
bundle installStart development server
yarn devTo start the development server just run yarn dev
- The required configurations are in
_config.yml - Also edit
package.jsonas the name is used in the meta tags - If the
manifest.jsonis used, please editconfig/manifest.json
- SCSS partials should be located in
_scssfor better reading - Images should be in
_imagesand the content of this folder will be moved to the_site/assets/imagesso you can access them with this path/assets/images/** - Javascript files are saved in
_jsand import them fromindex.jsor you can also add them as a new entry point in your webpack configuration file
To build the website run the following line
yarn buildThe built website will be in _site folder.
You can also run a local server to test it with this command
yarn serve:distIf you want to build a PWA (including the manifest.json and the service worker) run the following. Please ensure to have configured this file config/manifest.json
The built website will be in _site folder.
yarn build:pwaThis will remove the generated folders
yarn clean:projectRun this command to update Algolia's search index:
ALGOLIA_API_KEY='admin_api_key' bundle exec jekyll algolia --config _config.yml,_config_apikeys.yml