See Recommended Development Environment.
- Angular CLI: 17.0 or later.
- node.js: 20.9.0 or later
- yarn
To bootstrap a new Spartacus storefront:
- Get credentials at the Repository based shipment channel
- Export your base64 NPM credentials as Environment variable
RBSC_NPM_CREDENTIALS
. - Run the bootstrap script with your repo name
./boostrap.sh <project name>
- You can delete the
bootstrap
folder and script afterwards.
- Bootstraps a new Spartacus project from scratch as recommended by the official documentation (with PWA and SSR support)
- Generate a
manifest.json
for CCv2 with correct settings for Client Side and Server Side Rendering - Generate a
.npmrc
for configuration as described in Installing Composable Storefront Libraries from the Repository Based Shipment Channel with a variable placeholder.