docs/build-pieces/building-pieces/development-setup.mdx
node tools/setup-dev.js
This command will start activepieces with sqlite3 and in memory queue.
npm start
For more details, check out the Piece Development section.
</Note>Email: [email protected]
Password: 12345678
When AP_PIECES_SYNC_MODE is set to OFFICIAL_AUTO, all pieces are automatically loaded from the cloud API and synced to the database on first launch. This process may take a few seconds to several minutes depending on your internet connection.
For local development, pieces are loaded from your local dist folder instead of the database. To enable this, set the AP_DEV_PIECES environment variable with a comma-separated list of pieces. For example, to develop with google-sheets and cal-com:
AP_DEV_PIECES=google-sheets,cal-com npm start