Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
cc-core-cli
Advanced tools
Command Line Interface tool for generating project templates for the (Your Platform's Name) platform.
Create SSH key
ssh-keygen -t rsa -b 4096
It will ask you the file name that you want to save
Enter a file in which to save the key (/Users/YOU/.ssh/id_ALGORITHM): [Press enter]
Please fill in with
~/.ssh/cconnect
Then should run command. It will copy your public key and please send it to your team lead.
cat ~/.ssh/cconnect.pub | pbcopy
Config SSH to use your key open ssh config with this command
sudo vim ~/.ssh/config
Add the below code and save the file
Host cconnect
Hostname bitbucket.com
IdentityFile ~/.ssh/cconnect
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 git+ssh://git@cconnect:shopstackthailand/cc-core-cli.git#latest
Create Commerce Connect Core Project
cc-cli init core <PATH>
Example .env file for run on dev mode
NODE_ENV=dev
PORT=3000
LOOP_BACK_IP=0.0.0.0
SESSION_REDIS_URL=redis://{{YOUR DOCKER GATEWAY IP}}:6379/1
CACHE_REDIS_URL=redis://{{YOUR DOCKER GATEWAY IP}}:6379/1
MONGODB_URI=mongodb://root:axSdEpGZYNfdsX@{{YOUR DOCKER GATEWAY IP}}:27017/cc_dev?authSource=admin
ENABLE_SCHEDULE_ACTION=true
SERVE_STATIC=true
SERVE_STATIC_PATH=media
SINGLE_QUEUE_REDIS_URL=redis://{{YOUR DOCKER GATEWAY IP}}:6379/1
QUEUE_REDIS_URL=redis://{{YOUR DOCKER GATEWAY IP}}:6379/1
QUEUE_CONCURRENCY=1
MAX_WORKER=1
SWAGGER_ENABLE=true
CUSTOM_MODULES=
DEFAULT_API_KEY=997829b-1144-4049-aff9-b2b9394a394e
DEFAULT_SECRET_KEY=5ae1ave1j8otoxxvrv5gn2o9mtquk3we14hjxjha
Create Commerce Connect Admin Project
cc-cli init admin <PATH>
Example .env file for run on dev mode
NODE_ENV=develop PORT=4000 COOKIE_SECURE=false COOKIE_HTTP_ONLY=false COOKIE_SAME_SITE= SYSTEM_APP_KEY=SYSTEM_APP_KEY SYSTEM_SECRET_KEY=SYSTEM_SECRET_KEY API_GATEWAY=API_GATEWAY API_GATEWAY_MEDIA=API_GATEWAY_MEDIA GOOGLE_MAP_KEY=
Upgrade package
cc-cli upgrade
Create Commerce Connect Admin Project
cc-cli admin
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 0 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
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.