Skip to main content

EZsale Send Zalo

Installation

Requirements

  • Bun sử dụng bun phiên bản 1.0.10
  • Yarn phiên bản 1.22.19 trở lên.

Running the development server

Hãy thay đổi biến môi file .env trong admin và server. Khi chạy development sẽ sử dụng file .env

  • nôi dung .env file theo các môi trường .env.dev .env.staging .env.prod

  • env react: Bổ sung file .env tại thư mục react Sử dụng cú pháp giống .env.dev

  • env server:

# COMPOSE_PROJECT_NAME=ezalo-tools-prod

# DEFAULT_DB = ez_zalo_auto_tool_dev
ENV=development
PORT=3333
MONGODB = mongodb://root:WindSoft2018@dev.winds.vn:27018
APPLICATION_LINK_PUPPETEER =http://localhost:5000/public/index.html
PORT_SOCKET=10069
EZ_API= https://dev.api.ezsale.vn

EZCHAT_API=https://dev.ezalov2.api.ezsale.vn

# COMPOSE_PROJECT_NAME=ezalo-tools-prod

DEFAULT_DB = ez_zalo_auto_tool_v5
# ENV=development
# PORT=10068
# MONGODB = mongodb://root:GkvLh2dfNTRBqK4gp5DCYn6Q8XPs9m@103.61.123.42:22000
# APPLICATION_LINK_PUPPETEER =http://localhost:5000/public/index.html
# PORT_SOCKET=10069
# EZ_API= https://api.ezsale.vn
# EZCHAT_API= https://api.ezsale.vn

Then, in the directory containing package.json, run your package manager's install command:

  • React:
cd react
yarn install
  • Server
yarn install

To preview your changes as you edit the files, you can run a local development server that will serve your website and reflect the latest changes.

  • React:
cd react
yarn dev
  • Server
yarn dev

By default, a browser window will open at http://localhost:5173.

Build

Quá trình build đã được setup CI CD