@davoodmehraban89 / medusa / commits / 19e5327f
Fork 0

Document standalone storefront preview and execution instructions

davoodmehraban89 committed Oct 13, 2026 at 23:07 UTC 19e5327f0f2a2ebc8012265395e71c19a408fb32
1 file changed +17
commerce/README.md
+17
@@ -52,3 +52,20 @@ The root repository is a large upstream source monorepo. Installation may requir
52 - Staging hosting, domain, secrets and backup policy
53
54 See `PROJECT_STATUS.md` for the verified project record.
55 +
56 +## Storefront preview — new source files
57 +
58 +The initial React/TypeScript/Vite storefront scaffold now lives in `commerce/`.
59 +
60 +To run this **standalone preview** (requires Node.js 22 and npm; commands have not been verified in CI):
61 +
62 +```bash
63 +cd commerce
64 +npm install
65 +cp .env.example .env
66 +npm run dev
67 +```
68 +
69 +Open http://localhost:5173. The storefront displays the five configured countries, market currencies and Persian/English RTL/LTR switching. It **does not yet fetch live products or process orders**. The Medusa publishable key must be configured once a backend instance is running. Avoid committing `.env` or live secrets.
70 +
71 +For the upstream monorepo, continue to use its pinned Yarn version. The standalone storefront uses npm until a workspace integration strategy is validated.