Bootstrap an app or tenant running on the headless ecommerce and GraphQL based Product Information Management service Crystallize.
You'll need the following installed to use Crystallize CLI:
- Node.js (>=12)
To create a new app using Crystallize, simply run the following command:
npx @crystallize/cli <project-name>
This will walk you through creating a project, allowing you to choose which template and preferences you want to use.
npx @crystallize/cli --help
npx @crystallize/cli --bootstrap-tenant
or
npx @crystallize/cli -b
This will bootstrap an existing tenant with example data
The default mode of the Crystallize CLI is to use a template. Each template has different options that can be chosen to configure the initial project to suit your needs.
Current templates include:
- Complete Ecommerce (Next.js + React)
- Content & Commerce (Next.js + React)
- Gatsby (React)
- Nuxt (Vue.js)
- Service API (Node.js)
- React Native (beta)
If you'd like to help improve our CLI tool, check out the contributing guidelines for an overview of the codebase and structure.