EZsale Send Zalo
Gitlab: gitlab.winds.vn/ezsale/zalo-tool-sends-messages
Website: dev.zalo.tool.ezsale.vn, staging.tool.zalo.ezsale.vn, zalo.tool.ezsale.vn
Note: Dự án tool gửi tin nhắn zalo cá nhân
Installation
Requirements
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
.envfile theo các môi trường.env.dev.env.staging.env.prod -
env react: Bổ sung file
.envtại thư mụcreactSử 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