Quick Start
Install ShipStart and open your website locally
This guide gets the homepage, blog, and documentation running. You can configure login, payments, and AI afterwards.
Ask Your AI Tool to Run the Project
Open the project folder in your AI coding tool and paste this request:
Follow content/docs/introduction/quick-start.mdx to run this project locally.
Check Node.js and pnpm, install dependencies, and create any missing local
configuration files. Keep my existing settings. Start with the homepage,
blog, and docs; leave paid services unconfigured.
Tell me the local URL and how to stop and restart the site.To do it yourself, follow the steps below.
Before you start
Install Git, Node.js (22.12+ recommended; Vite also supports 20.19+), and pnpm.
git --version
node --version
pnpm --version1. Open the project
After obtaining the project files, extract them into a shipstart folder. From its parent directory, run:
cd shipstart
pnpm installIf your project folder has a different name, use that name in the cd command. If it is already open in your terminal, run pnpm install directly.
2. Create your configuration files
cp .env.example .env
cp .dev.vars.example .dev.varsIn .env, set:
VITE_APP_URL=http://localhost:3377
VITE_ENV=developmentCreate these files once; edit existing files instead of overwriting them with the examples. You can leave service credentials in .dev.vars empty for page preview. When you need login or another service, follow Environment configuration.
3. Start the website
pnpm devOpen http://localhost:3377, the documentation, and the blog. To preview Chinese content, open the Chinese documentation.
If the homepage, blog, and docs open, local setup is complete. Keep the terminal running. Press Ctrl+C to stop; next time, open the project folder and run pnpm dev.
If the terminal reports that port 3377 is occupied, stop the process using it before restarting. If it reports a Node.js version error, update Node.js to a supported version.
4. Enable the features you need
- For registration and the admin panel, initialize local D1, then follow Authentication and Email.
- To change the product, follow Site settings and Homepage.
- To add AI or payments, follow AI, Stripe, or Creem.
- When your local site works, follow Cloudflare deployment.
Common commands
Run these in the project folder:
| Command | Purpose |
|---|---|
pnpm dev | Run the local website on port 3377 |
pnpm db:migrate:local | Initialize or update local D1 |
pnpm db:seed:local | Add the AI price catalogue to local D1 |
pnpm typecheck | Check TypeScript |
pnpm lint | Check code style |
pnpm test | Run the existing service tests |
pnpm build | Build the website and Cloudflare Worker |
pnpm run deploy | Build and deploy to the production Worker after completing deployment setup |