Skip to main content

Installation

Install Pashmak CLI

First, install the Pashmak CLI globally:

npm install -g @devbro/pashmak

Create a New Project

Use the Pashmak CLI to create a new project:

pashmak create project --path /path/to/project
cd /path/to/project

Install Dependencies and setup

npm install
npm run pdev migrate

Start Development Server

To start the development server with all services (HTTP server, scheduler, and queues):

npm run pdev start --all

Build and Run for Production

Pashmak has good performance with regular start command. If you plan on running for production and want to maximize performance, use minified code, and optimize size of the build, you can use the build command:

npm run build
npm run start