Repository navigation
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.
- Administrator access to your computer
- A stable internet connection
- A code editor (VS Code, WebStorm/IntelliJ IDEA, or similar)
Node.js runs the build tools (Vite) and the package manager.
Windows and macOS
- Open the Node.js download page.
- Download the LTS installer for your system.
- Run the installer and follow the prompts.
Linux (Ubuntu)
sudo apt update
sudo apt install nodejs npmDistribution packages can be old. If
node -vprints an old version, install the current LTS with nvm or from nodejs.org.
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.
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 yarnLinux (Ubuntu)
npm install --global yarngit clone https://github.com/selldone/storefront.git
cd storefrontyarn setup # fetch the Selldone modules (Git submodules) and auto-configure
yarn install --force # install the remaining packagesWith npm: npm run setup then npm install --force.
yarn serve # or: npm run serveThe project is now running. Open the address shown in your terminal, for example http://localhost:8080.
- Check the installation with
node -v,npm -v,git --versionandyarn -v. - If
setupfails, make sure Git can reach GitHub (proxy or firewall settings). - If the dev server port is busy, set
VITE_APP_DEV_SERVER_PORTin.env. - More answers in the FAQ.
Get started
Develop and ship
Plan
Ecosystem
Links