Skip to content

Setting Up Development Environment

Mehrdad Pajuhaan edited this page Oct 23, 2026 · 2 revisions

Setting Up Development Environment

This guide prepares a computer to build and run the Selldone Storefront, on Windows, macOS or Linux (Ubuntu). When you finish, you will be able to run yarn serve in the project.

Prerequisites

  • Administrator access to your computer
  • A stable internet connection
  • A code editor (VS Code, WebStorm/IntelliJ IDEA, or similar)

Step 1: Install Node.js

Node.js runs the build tools (Vite) and the package manager.

Windows and macOS

  1. Open the Node.js download page.
  2. Download the LTS installer for your system.
  3. Run the installer and follow the prompts.

Linux (Ubuntu)

sudo apt update
sudo apt install nodejs npm

Distribution packages can be old. If node -v prints an old version, install the current LTS with nvm or from nodejs.org.

Step 2: Install Git

Git is required to clone the project and its submodules. Download it from git-scm.com (Windows and macOS), or on Ubuntu run sudo apt install git.

Optional: install the GitHub CLI to use gh repo clone.

Step 3: Install Yarn (optional)

You can use npm, which comes with Node.js, or Yarn.

Windows: install via npm (npm install --global yarn) or with the Yarn installer.

macOS

brew install yarn

Linux (Ubuntu)

npm install --global yarn

Step 4: Clone the Selldone Storefront

git clone https://github.com/selldone/storefront.git
cd storefront

Step 5: Install the modules and dependencies

yarn setup              # fetch the Selldone modules (Git submodules) and auto-configure
yarn install --force    # install the remaining packages

With npm: npm run setup then npm install --force.

Step 6: Run the development server

yarn serve              # or: npm run serve

The project is now running. Open the address shown in your terminal, for example http://localhost:8080.

Troubleshooting

  • Check the installation with node -v, npm -v, git --version and yarn -v.
  • If setup fails, make sure Git can reach GitHub (proxy or firewall settings).
  • If the dev server port is busy, set VITE_APP_DEV_SERVER_PORT in .env.
  • More answers in the FAQ.

Next steps

Clone this wiki locally