Skip to main content

EZsale

Installation

Requirements

  • Node.js phiên bản 16.0 (có thể kiểm tra bằng cách chạy node -v). Bạn có thể sử dụng nvm để quản lý nhiều phiên bản Node trên một máy được cài đặt.
  • Yarn phiên bản 1.22.19.

Running the development server

Hãy thay đổi cac biến môi trường tại file .env.development. Khi chạy development sẽ sử dụng file .env.development

REACT_APP_ENV=dev
REACT_APP_MAP_KEY=V2EkDrNPSaMo6xq4JMIGB2dlDKkoqmIxmQtylwM4
COMPOSE_PROJECT_NAME=ezsale
REACT_APP_API_URL='https://dev.api.ezsale.vn/'
REACT_APP_SOCKET_URL='https://api.ezsale.vn/'
REACT_APP_SENTRY_ENVIRONMENT=development
REACT_APP_ZNS_LOGIN_CALLBACK="https://dev.admin.ezsale.vn/zalo-login"
REACT_APP_ZALO_PLATFORM_SITE_VERIFICATION='FystAEx59ougvAO6sf42N0paf7dWctGWE3C'
REACT_APP_API_ZALO_URL=https://dev.ezalov2.api.ezsale.vn
REACT_APP_WEB_CHAT=https://dev.chat.ezsale.vn
REACT_APP_API_ZALO_TOOL_URL=https://dev.api.zalo.tool.ezsale.vn/api/v1
SKIP_PREFLIGHT_CHECK=true
REACT_APP_SEND_MAI=https://dev.api.mail.ezsale.vn

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

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.

yarn start

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

Build

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