Install your shop
Choose one way. The one-click deploy is the easiest; all three give you the same shop.
Before you start
Create two free accounts if you do not have them yet:
- GitHub: your shop files will live here.
- Cloudflare: your shop will run here. The free plan is enough; no card is needed.
Option 1: Deploy to Cloudflare (recommended)
- Open the Deploy to Cloudflare link.
- Sign in to Cloudflare. When asked, connect your GitHub account.
- Choose a name for your project, for example
my-shop. The name becomes part of your free address. - Confirm with the deploy button at the bottom of the page. Cloudflare copies the project into your GitHub account and builds it. This takes a minute or two.
- Open the address Cloudflare shows, which looks like
https://my-shop.your-name.workers.dev. You will see the sample shop with a demo banner.
From now on, every change saved to your repository rebuilds the shop automatically.
Next
Open https://<your-shop>/admin and follow Manage your shop to make it yours.
Option 2: connect your own copy
Use this if you want to start from a copy in your GitHub account, for example a private one.
- Open the NoBorder Shop repository and press Use this template → Create a new repository. A private repository is fine.
- In the Cloudflare dashboard, open Workers & Pages → Create and choose to import a repository from GitHub. Pick your new repository.
- Keep the build command
npm run buildand the deploy commandnpx wrangler deploy(Cloudflare usually fills them in from the project). - Deploy. Your shop runs at
https://<name>.<you>.workers.dev, and every push to the repository rebuilds it.
Classic Cloudflare Pages
NoBorder Shop also runs as a classic Pages project: build command npm run build, build output directory dist. The functions/ folder serves the checkout. For automatic translation, add a Workers AI binding named AI in the project settings.
Option 3: from your computer
For developers who want to change the code. You need Node.js 18 or newer and Git.
git clone https://github.com/<you>/<your-shop>.git
cd <your-shop>
npm install
npm run dev # http://localhost:8787 (works offline)
npm test # prices and payment tests
npx wrangler login
npx wrangler deploynpm run build writes the whole shop to dist/ in well under a second. The build uses only Node.js; wrangler runs and deploys it.
Check that it works
- The home page shows the sample products.
/cart/lets you add a product and see the checkout./admin/shows the sign-in page.
If the build fails, open your project in the Cloudflare dashboard and look at the build log. Each problem is listed with the file and line to fix, and the previous version of your shop stays online.