Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

easyvadmin

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

easyvadmin

Easy[V]大屏管理

  • 5.15.3
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

EasyV 前端工程

仓库拉取

git clone ssh://git@git.dtstack.cn:10022/dtstack/easyvadmin.git

项目运行

1. 安装依赖

npm install

2. 初始化本地环境变量

unix 系统可跳过此步骤。

根目录下创建 .env 文件,写入以下变量:

# 测试环境
SERVER_PATH = 'http://172.16.10.70'

或者

# 开发环境
SERVER_PATH = 'http://172.16.101.251'

3. 运行脚手架

sudo npm start

4. 将会开启 80 端口

访问本地环境:

配置 hosts 文件,访问配置的域名

将 127.0.0.1 的 ip 映射为对应环境相同的域名,比如:test 环境可以配置 127.0.0.1 为 easy.teat.dtstack.net,这样你就可以登录 test 环境后,通过http://easyv.test.dtstack.net来访问本地项目。

另外需要做几个环境的 host 绑定

  • 项目开发环境

    172.16.101.251 easyv.dev.dtstack.net

  • 测试环境

    172.16.10.70 easyv.test.dtstack.net

  • UIC 地址

    172.16.10.61 dtuic.dtstack.net

5. 打包

npm run build

项目部署

整个 easyV 分两部分,平台 + 资源(组件、字体、模板)

本地部署

步骤如下:

打包资源(相应的组件、模板、字体资源都可以在指定环境的 Easy[v] 后台管理界面中打包下载)

FAQs

Package last updated on 01 Jun 2022

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc