Sliders Installation Guide
Quick Summary
- Clone the repo: svelte-pi GitHub page
- Start the site:
npm run dev
What You Need
- A computer with MacOS or windows
- Basic familiarity with the Terminal app
Step 1: Software Requirements Specification
Install Node.js and NPM Manually
- Get Node.js: Go to Node.js Downloads and choose the installer for MacOS. Follow the prompts to install.
- Check Installation: Open Terminal and type
node -v
andnpm -v
. If you see version numbers (like v18.0.1), you’re set! If not, the installation might need a do-over.
Alternate: Install Node.js and NPM using Terminal on MacOS (untested)
-
Get Node.js
-
Check Installation
Step 2: Get the Project Files
Choose one of the following methods based on your access and preference:
Option A: GitHub (if you have access)
Mac OS
-
Visit the [svelte-pi GitHub page].
-
Use the green “Code” button to find the SSH option and copy the link provided, i.e.
git@github.com:Columbia-DESDR/svelte-pi.git
. -
In Terminal (on MacOS) or Command Prompt (on Windows), navigate to where you want the project. E.g.:
-
Clone the repo:
-
Optional: Switch branches with
git checkout [branch-name]
if needed.
Option B: Zipped File (no GitHub access)
- Go to the DESDR team’s Google Drive and download
temp_install.zip
. - Unzip it wherever you prefer.
Step 3: Launch Your Website
-
Open Terminal and navigate to the project folder. E.g.
cd ~/Desktop/sliders/svelte-pi
or wherever you placed it. -
Install dependencies:
-
Start the site:
-
Terminal will give you a local URL (like
http://localhost:xxxx/
). Paste it in your browser to see your site live!