# Pages [Live Page](https://justin.morlana.space/) [Local Dev Env](http://127.0.0.1:4000/) # Setup locally ## WSL / Linux **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 — 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 gem install bundler jekyll webrick npm i && npm run build bundle install bundle exec jekyll serve ``` # Run locally ## WSL / Linux ```bash source ~/.rvm/scripts/rvm bundle exec jekyll serve ``` ## Windows ```bash bundle exec jekyll serve ```