Repository navigation
Manual Setup
Set Depot up on your shop yourself. Follow these steps in order, or let an agent do it: Install with AI.
Set up your shop's OAuth client id first (in the shop dashboard's login / OAuth client settings, or with the Selldone MCP connector's selldone_shop_client_list and selldone_shop_client_create). Without it, sign-in on the Layout leaves for Selldone and shows an error.
Guest checkout, payment methods, delivery ways, pickup points, the checkout map and login modes are your settings. Depot handles each choice; see Shop Requirements.
Fork selldone-custom-layouts/official-depot on GitHub (default branch main), then clone your fork and fetch Selldone's modules:
git clone https://github.com/<you>/<your-repo>.git
cd <your-repo>
npm run setup
for p in components translate; do git -C modules/$p apply ../../patches/modules-$p.kalio.patch; done
git remote add upstream https://github.com/selldone/storefront.git
git remote set-url --push upstream DISABLED-
npm run setupfetches Selldone's six modules intomodules/(core,components,translate,storefront-sdk,community-sdk,pagebuilder, as listed in.gitmodules). Clone with git, not as a ZIP download: the setup needs a git repository. - The two patches in
patches/carry the Layout's fixes insidemodules/componentsandmodules/translate. -
originis your repository. -
upstreamis Selldone's official storefront, used to fetch updates only. - Never change files inside
modules/*. A fix there is kept as a patch inpatches/.
npm install --forceNode.js 22.15 or newer (the release scripts run node --use-system-ca). On Windows use Git Bash for the shell scripts.
For releases you also need Playwright with its Chromium, in any folder (npm i playwright, then npx playwright install chromium): every release loads the built bundle in a headless browser before it uploads. See Build and Upload.
Edit .env. These are public client values, read only in development; in production Selldone injects the shop that runs the Layout.
VITE_APP_SAMPLE_SHOP_NAME=<your shop handle>
VITE_APP_SAMPLE_SHOP_CUSTOM_HOME=shop
VITE_APP_SAMPLE_DEFAULT_CURRENCY=USD
VITE_APP_SAMPLE_DEFAULT_COUNTRY=US
VITE_APP_SAMPLE_DEFAULT_LANGUAGE=en
VITE_APP_DEV_SERVER_PORT=9179The repository ships with VITE_APP_SAMPLE_SHOP_NAME=toolino-Nz2AovCw, the showcase shop. Leave the VITE_APP_SAMPLE_THEME_COLOR_* lines as they are: the Layout's colours come from its theme file (step 4).
VITE_KALIO_ACCOUNT (in .env and .env.development.local) is no longer read, whatever its comment says. Depot always builds the same account: Overview, Orders, Addresses and Profile in a side menu, with Selldone's other sections (saved, wallet, gift cards, returns, reviews) in a quieter list under them.
-
Name: the wordmark is your shop's title, drawn by
components/ly/LyLogo.vuein Barlow Condensed with its first letter in capitals, and your shop's city in small spaced capitals under it; a long title steps the size down so it never leaves the header. The hero's first line and the footer's name are the same title. Change the title in the Selldone dashboard and the Layout follows.BRAND.nameincomponents/kalio/kalio-brand.tsisnull; a string there replaces the shop's title everywhere the storefront names the shop. -
Mark: the tab icon and the shop's avatar on order messages are drawn from the title's first letter, a capital in Barlow Condensed on the family's dark (
markForincomponents/kalio/kalio-brand.ts,components/ly/ui/LyMark.vue). They are inline, so there is no image file to replace. -
Photos: the eight photo slots read
skins/depot/photos/<slot>.webp, and each collection's photo readsskins/depot/photos/col-<slug of its title>.webp(its address name is tried too). Without a file, a slot shows its designed fallback (the family tint with a line drawing, or your own products as cut-outs). The repository ships the photos made for Toolino: the slots it fills, and the collection photos (col-batteries-chargers,col-clamps-workholding,col-drill-bits-hole-saws,col-drills-drivers,col-measuring-layout,col-pliers-cutters,col-sanders-grinders,col-saws,col-screwdrivers-bits,col-wrenches-sockets). Replace or remove them for your own. The names and sizes are in Customize. -
Theme:
components/ly/ly-theme.settings.ts, the one file for colours, dark or light and the visitor switcher. See Theme and colours.
npm run serveOpen http://localhost:9179. Check the home, a collection, a product page, the bag, the checkout and the account against your shop. If a section is missing or a product sits on a square, see Shop Requirements.
In manifest.json:
{
"deploy_server": "https://layouts.selldone.com",
"deploy_path": "",
"package": "myshop-classic",
"name": "Myshop Classic",
"version": "1.0.0",
"storefront": true,
"backoffice": false,
"description": "One sentence about your storefront."
}-
package: lowercase, unique to you, and permanent after the first upload. -
name: at least 8 characters. -
version: new for every upload, never reused. -
description: the Layout's description on Selldone. Later uploads do not change it, so write it before the first upload. -
deploy_serveranddeploy_path: leave them as they are. The upload sends onlypackage,version,name,description,storefrontandbackoffice.
selldone-layout.json is the repository's own summary of the Layout (name, package, summary, live address, screenshots, tags). Keep its name, package and live address in step with yours.
-
Build and Upload. The first time:
PW=<path>/node_modules/playwright/index.js SELLDONE_CLI_SRC=<cli clone> bash scripts/release.sh 1.0.0 desk. After that, with the id printed after the first upload:LAYOUT_ID=<your Layout id> PW=<path>/node_modules/playwright/index.js SELLDONE_CLI_SRC=<cli clone> bash scripts/release.sh <new version> desk. - Go Live: pin the exact version on one domain of your shop first (or on the whole shop), and set Home to the shop page.
git fetch upstream main --tags --prune
git merge --no-ff upstream/mainResolve conflicts by keeping Depot's templates and Selldone's logic. Then re-apply the patches if the modules changed:
git -C modules/components apply ../../patches/modules-components.kalio.patch
git -C modules/translate apply ../../patches/modules-translate.kalio.patchA patch that no longer applies must be redone by hand, not skipped.