1
0
mirror of https://github.com/privacyguides/privacyguides.org.git synced 2025-07-01 17:22:39 +00:00

Utilize node modules better

This commit is contained in:
2021-02-22 10:47:35 -06:00
parent 651fc16b66
commit 653bef7567
15 changed files with 16 additions and 16 deletions

View File

@ -58,11 +58,13 @@
* With [rbenv](https://github.com/rbenv/rbenv) (**recommended!**): `rbenv install`
* With [RVM](https://rvm.io): `rvm install "ruby-$(cat .ruby-version)"`
* [Manually](https://www.ruby-lang.org/en/downloads/)
1. Install node.js and npm
1. Install [Bundler](https://bundler.io/) v2.2.5:
* `gem install bundler:2.2.5`
1. Install the required dependencies:
* `bundle install`
* `npm install`
1. Build the website (the output can be found in the `_site` directory):
* `bundle exec jekyll build`
* `npm run build`
1. Serve the website locally with live reloading:
* `bundle exec jekyll serve --incremental --livereload`
* `npm run serve`