Menu

Run a Go + SvelteKit online store on your laptop with one docker compose
📰

Run a Go + SvelteKit online store on your laptop with one docker compose

DEV Community: docker·ShopNx·15 days ago
#Uc8H1DKs
#devtodocker#devto#dev#gocommerce#localhost
Long article (586 words) — no AI summary yet.
Reading 0:00
15s threshold

GoCommerce is an MIT-licensed commerce engine written in Go: products, variants, inventory, carts, checkout, orders, payments and fulfilment over one PostgreSQL database, with an admin panel built into the binary. Svelte Commerce is the SvelteKit storefront that sells from it. This walkthrough runs both, plus Postgres, Meilisearch and Caddy, on your own machine, and ends with a working shop at https://acme.shops.localhost .

You need Docker with Compose v2 and Git. Nothing else: Go and Node run inside the images.

1. Get the code

git clone https://github.com/itswadesh/gocommerce cd gocommerce cp .env.example .env

Enter fullscreen mode

Exit fullscreen mode

2. Fill in .env for a local trial

Open .env and set these.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.