rootedsquare / cryptoassetsweb

Web for https://github.com/goex-top/cryptoassets

Home Page:https://github.com/goex-top/cryptoassets

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

vue element-ui license build status

资产显示

基于 vue-element-admin 管理后台改制。

image

快速上手

配合后台使用, https://github.com/goex-top/cryptoassets

配置

后端端口为9000

用nginx代理配置如下

server {
        listen 8001;
        listen [::]:8001;

        server_name localhost;
        access_log /yourpath/cryptoassetsweb/dist/crypt.log;
        charset utf-8;
        location / {
                root /yourpath/cryptoassetsweb/dist;
                index index.html;
                try_files $uri $uri/ /index.html;
        }

        location /api {
                proxy_set_header X-Forwarded-For $remote_addr;
                proxy_set_header Host $http_host;
                proxy_pass http://127.0.0.1:9000/api;
        }
}

配置用户api Key

显示

每日资产简报

资产明细

使用

编译

# 克隆项目
git clone https://github.com/goex-top/cryptoassetsweb.git

# 进入项目目录
cd cryptoassetsweb

# 安装依赖
npm install

# 建议不要直接使用 cnpm 安装以来,会有各种诡异的 bug。可以通过如下操作解决 npm 下载速度慢的问题
npm install --registry=https://registry.npm.taobao.org

# 启动服务
npm run dev

浏览器访问 http://localhost:9001

发布

# 构建测试环境
npm run build:stage

# 构建生产环境
npm run build:prod

其它

# 预览发布环境效果
npm run preview

# 预览发布环境效果 + 静态资源分析
npm run preview -- --report

# 代码格式检查
npm run lint

# 代码格式检查并自动修复
npm run lint -- --fix

浏览器支持

主流浏览器 和 Internet Explorer 10+.

IE / Edge
IE / Edge
Firefox
Firefox
Chrome
Chrome
Safari
Safari
IE10, IE11, Edge last 2 versions last 2 versions last 2 versions

About

Web for https://github.com/goex-top/cryptoassets

https://github.com/goex-top/cryptoassets

License:MIT License


Languages

Language:Vue 52.8%Language:JavaScript 41.3%Language:CSS 5.4%Language:HTML 0.5%