Documentation

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 --version

1. Open the project

After obtaining the project files, extract them into a shipstart folder. From its parent directory, run:

cd shipstart
pnpm install

If 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.vars

In .env, set:

VITE_APP_URL=http://localhost:3377
VITE_ENV=development

Create 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 dev

Open 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

Common commands

Run these in the project folder:

CommandPurpose
pnpm devRun the local website on port 3377
pnpm db:migrate:localInitialize or update local D1
pnpm db:seed:localAdd the AI price catalogue to local D1
pnpm typecheckCheck TypeScript
pnpm lintCheck code style
pnpm testRun the existing service tests
pnpm buildBuild the website and Cloudflare Worker
pnpm run deployBuild and deploy to the production Worker after completing deployment setup

On this page