-
maybe add lighthouse validation checking
In production (GitHub Actions), environment is setup by by workflows in .github/workflows/.
For local testing (try VS Code + Dev Containers extension, Rancher Desktop), these steps are performed by .devcontainer/ when you run Reopen in Container.
-
Install Ruby (use version in build-test-deploy.yml in "Setup Ruby", (try rbenv)
-
Install Jekyll
gem update --system gem install bundler bundle install
-
Install Node & yarn, use version in build-test-publish.yml in "Setup Node.js", (try nvm)
nvm use 'lts/*' yarn install
Build the HTML website (see available localhost:#### port in the console output):
bundle exec jekyll build
bundle exec jekyll serve
(Bonus) if you will build using Jekyll but deploy to a different server with a script interpreter...
You can run PHP or similar on the built site. Here's how.
(cd build; php -S localhost:4001)
All testing is performed using Node scripts:
yarn run test