@@ -6,9 +6,6 @@
|
|||||||
|
|
||||||
# Setup locally
|
# Setup locally
|
||||||
|
|
||||||
## WSL / Linux
|
|
||||||
|
|
||||||
**Ruby (via rvm)**
|
|
||||||
```bash
|
```bash
|
||||||
curl -sSL https://get.rvm.io | bash -s stable
|
curl -sSL https://get.rvm.io | bash -s stable
|
||||||
source ~/.rvm/scripts/rvm
|
source ~/.rvm/scripts/rvm
|
||||||
@@ -16,42 +13,6 @@ rvm install 3.3.5
|
|||||||
rvm use 3.3.5 --default
|
rvm use 3.3.5 --default
|
||||||
```
|
```
|
||||||
|
|
||||||
**Node.js (via nvm — use native Linux Node, not the Windows binary)**
|
|
||||||
```bash
|
|
||||||
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.3/install.sh | bash
|
|
||||||
source ~/.bashrc
|
|
||||||
nvm install 20
|
|
||||||
nvm use 20
|
|
||||||
```
|
|
||||||
|
|
||||||
**Install dependencies and build**
|
|
||||||
```bash
|
|
||||||
gem install bundler jekyll webrick
|
|
||||||
npm install --ignore-scripts
|
|
||||||
npm run build
|
|
||||||
bundle install
|
|
||||||
bundle exec jekyll serve
|
|
||||||
```
|
|
||||||
|
|
||||||
## Windows
|
|
||||||
|
|
||||||
**Ruby (via rvm)**
|
|
||||||
```bash
|
|
||||||
curl -sSL https://get.rvm.io | bash -s stable
|
|
||||||
source ~/.rvm/scripts/rvm
|
|
||||||
rvm install 3.3.5
|
|
||||||
rvm use 3.3.5 --default
|
|
||||||
```
|
|
||||||
|
|
||||||
**Node.js (via nvm-windows)**
|
|
||||||
|
|
||||||
Download and install from https://github.com/coreybutler/nvm-windows/releases, then:
|
|
||||||
```bash
|
|
||||||
nvm install 20
|
|
||||||
nvm use 20
|
|
||||||
```
|
|
||||||
|
|
||||||
**Install dependencies and build**
|
|
||||||
```bash
|
```bash
|
||||||
gem install bundler jekyll webrick
|
gem install bundler jekyll webrick
|
||||||
npm i && npm run build
|
npm i && npm run build
|
||||||
@@ -59,16 +20,12 @@ bundle install
|
|||||||
bundle exec jekyll serve
|
bundle exec jekyll serve
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
# Run locally
|
# Run locally
|
||||||
|
|
||||||
## WSL / Linux
|
|
||||||
```bash
|
```bash
|
||||||
source ~/.rvm/scripts/rvm
|
source ~/.rvm/scripts/rvm
|
||||||
bundle exec jekyll serve
|
|
||||||
```
|
```
|
||||||
|
|
||||||
## Windows
|
|
||||||
```bash
|
```bash
|
||||||
bundle exec jekyll serve
|
bundle exec jekyll serve
|
||||||
```
|
```
|
||||||
Reference in New Issue
Block a user