Quickstart: Install and Run the Medusa Next.js Starter
mainFollow these steps to set up your local development environment for the Next.js starter:
- Set up environment variables: Copy the template environment file to
.env.local. - Install dependencies: Use
yarnto install the required packages. - Start development server: Run the project locally.
The site will be available at http://localhost:8000.
# Set up environment variables
cd nextjs-starter-medusa/
mv .env.template .env.local
# Install dependencies
yarn
# Start developing
yarn dev