0.0.1 • Published 2 years ago

content-digital-market v0.0.1

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

Content Digital Market Panel

Services and data provider of admin panel

Run

For running service, set environment variable accordingly:

  • local (windows: set NODE_ENV=local)
  • test (linux: export NODE_ENV=test)
  • production (linux: export NODE_ENV=production)

For enabling accounting service functions, set variable ACCOUNTING_ENABLED to true in .env file. Sample env file

MONGO_URL=mongodb://localhost:27017/techno_database
PORT=5200
MONGO_USER=sampleuser
MONGO_PASS=*********
CHECKORDERSERIVCE=http://localhost:4500
SITEADDRESS=https://www.technolifenew.ir
IMAGEUPLOADURL=https://services.technolifenew.ir
WAREHOUSESERVICEURL=http://localhost:5206/warehouse_api
FESTIVALSERVICEURL=https://services.technolifenew.ir/festival_customers
DELIVERYSERVICEURL=http://77.237.93.94:5215/delivery
PACKAGINGSERVICEURL=http://localhost:5204/packaging
IMAGEFOLDERPATH=/usr/share/nginx/html/image/
WEBPIMAGEFOLDERPATH=/usr/share/nginx/html/image/webp/
SHOPSERVICEURL=http://localhost:4200/updateLanding
SMSSERVICEURL=http://localhost:8000
REDISIP=localhost
GETBARCODE=true
ACCOUNTING_ENABLED=false
ACCOUNTING_SERVICE_URL=http://77.237.93.94:5216/accounting_api