Read in the language that you prefer:
Guide to installing a code editor, package manager and git.
When it comes to editors, you are free to choose for yourself. Visual Studio Code is widely used among frontend developers, and you can add Svelte support to it.
Follow the instructions on the following page to install Visual Studio Code: https://code.visualstudio.com/download
You must have Git installed on your machine to download the project. You need Node to build and run the project on your machine.
- Install Homebrew as described at https://brew.sh/
- Install everything using
brew install git node
There are multiple ways to install these on Windows. Below are two options:
- Install Chocolatey as described at https://chocolatey.org/install
- Install the packages using
choco install nodejs git
Download and install Node from the official page: https://nodejs.org/en/download/
On Linux, the installation process varies from distro to distro, and we have only met Linux users who know how to install things :D
Git is code version control, and you need it to fetch the workshop. It comes pre-installed with all Macs, but you must install it on Windows and Linux machines.
Download Git for Windows here: https://gitforwindows.org/
- When you have installed an editor, Git and Node, clone the repo in the command line/terminal:
git clone https://github.com/Vages/svelte-snake-workshop.git
- Go to the
svelte-snake-workshop
directory and runnpm install
to install the dependencies. If you runnpm run dev
, the app should startin development mode. If it works, you're ready for the workshop!