Socket
Book a DemoInstallSign in
Socket

cc-core-cli

Package Overview
Dependencies
Maintainers
1
Versions
136
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cc-core-cli

Command Line Interface tool for generating project templates for the (Your Platform's Name) platform.

1.0.137
latest
npmnpm
Version published
Weekly downloads
34
78.95%
Maintainers
1
Weekly downloads
 
Created
Source

Commerce Connect CLI

Install Mongo & Redis

Please copy docker-compose.yml for start mongo database

version: '3.1'
    services:
        mongo:
            image: mongo:6.0.8
            restart: always
            ports:
              - 27017:27017
            environment:
              MONGO_INITDB_ROOT_USERNAME: root
              MONGO_INITDB_ROOT_PASSWORD: axSdEpGZYNfdsX

Please copy docker-compose.yml for start redis

version: '3.1'
    services:
        redis:
            image: redis
            restart: always
            ports:
              - 6379:6379

Install CLI as a global package

npm install -g cc-core-cli

Create Commerce Connect CORE

cc-cli init core <PATH>

Example .env file for run CORE on dev mode

NODE_ENV=dev
PORT=3000
LOOP_BACK_IP=0.0.0.0
MONGODB_URI=mongodb://root:axSdEpGZYNfdsX@{{YOUR DOCKER GATEWAY IP}}:27017/cc_db?authSource=admin
SESSION_REDIS_URL=redis://{{YOUR DOCKER GATEWAY IP}}:6379/1
CACHE_REDIS_URL=redis://{{YOUR DOCKER GATEWAY IP}}:6379/1
QUEUE_REDIS_URL=redis://{{YOUR DOCKER GATEWAY IP}}:6379/2
QUEUE_CONCURRENCY=1
MAX_WORKER=1
CUSTOM_MODULES=
DEFAULT_API_KEY=0939f325-e24f-4de3-8796-4d5e7243849c
DEFAULT_SECRET_KEY=ogi6xld0kftb5yvm6t17x2a6bmyipnfja6s7v5v2

Create Commerce Connect ADMIN UI

cc-cli init admin <PATH>

Example .env.develop file for run ADMIN UI on dev mode

NODE_ENV=develop
PORT=4000
COOKIE_SECURE=false
COOKIE_HTTP_ONLY=false
COOKIE_SAME_SITE=
SYSTEM_APP_KEY=0939f325-e24f-4de3-8796-4d5e7243849c
SYSTEM_SECRET_KEY=ogi6xld0kftb5yvm6t17x2a6bmyipnfja6s7v5v2
API_GATEWAY=http://127.0.0.1:3000/api/v1
API_GATEWAY_MEDIA=http://127.0.0.1:3000
GOOGLE_MAP_KEY=

Create Commerce Connect MODULE

cc-cli init module <PATH>

Create Commerce Connect ADMIN MODULE

cc-cli init admin_module <PATH>

Upgrade package

cc-cli upgrade

Keywords

cc

FAQs

Package last updated on 11 Aug 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.