Security News
PyPI’s New Archival Feature Closes a Major Security Gap
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
cc-core-cli
Advanced tools
Command Line Interface tool for generating project templates for the (Your Platform's Name) platform.
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
FAQs
Command Line Interface tool for generating project templates for the (Your Platform's Name) platform.
The npm package cc-core-cli receives a total of 170 weekly downloads. As such, cc-core-cli popularity was classified as not popular.
We found that cc-core-cli demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
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.
Security News
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
Research
Security News
Malicious npm package postcss-optimizer delivers BeaverTail malware, targeting developer systems; similarities to past campaigns suggest a North Korean connection.
Security News
CISA's KEV data is now on GitHub, offering easier access, API integration, commit history tracking, and automated updates for security teams and researchers.