Repository navigation
Manual Setup
Set Galio 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. Galio handles each choice; see Shop Requirements.
Fork selldone-custom-layouts/official-galio 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.
The release also loads the built bundle in a headless browser before it uploads, so install Playwright with Chromium once, in any folder:
npm i playwright && npx playwright install chromiumYou pass its path to the release as PW=<that folder>/node_modules/playwright/index.js (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=9145The repository ships with VITE_APP_SAMPLE_SHOP_NAME=bakio, 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. Galio always builds the same account desk: Overview, Orders, Addresses and Profile, with Selldone's other sections (saved, wallet, gift cards, returns, reviews) under the side menu.
-
Name: the wordmark is your shop's title, drawn by
components/galio/GlMark.vuein lower case, in Shrikhand, then a round dot in the brand colour (a light tone of it on the dark rail, top bar and footer). A long title shrinks until it fits its place (the rail, the top bar, the footer); it is never cut. 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 is drawn from the title's first letter (
markForincomponents/kalio/kalio-brand.ts): the letter in Shrikhand, light (#fff4f4) on a rounded square in the Cherry family's near-black (#2e181a), with a brand dot (#ff8292). The mark keeps these Cherry values in every palette. It is an inline SVG, so there is no image file to replace. -
Theme:
components/galio/galio-theme.settings.ts, the one file for colours, light or dark and the visitor switcher. A palette or brand colour there re-tints the whole page (its one colour family), not just the buttons. See Theme and colours.
npm run serveOpen http://localhost:9145. The first page load after a start compiles for a minute or more. Check the home, a collection, a product page, the bag, the checkout and the account against your shop, at desktop width (the side rail shows from 1100px) and at phone width. If a section is missing or a pastry sits on a square, see Shop Requirements.
In manifest.json:
{
"deploy_server": "https://layouts.selldone.com",
"deploy_path": "",
"package": "mybakery-sundae",
"name": "Mybakery Patisserie",
"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. -
deploy_serveranddeploy_path: leave them as they are. The upload sends onlypackage,version,name,description,storefrontandbackoffice.
-
Build and Upload. The first time:
PW=<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=<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 Galio'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.