GithubHelp home page GithubHelp logo

webfunny-admin's Introduction

数据可视化系统平台部署教程

  1. 克隆或者下载代码

  2. 进入 webfunny-admin 目录,执行命令 $: node config.js 等待编译完成。 config.js的配置如下:

      /**
       * 请求接口域名 webfunny-servers 的服务的部署域名
       * 本地请使用 "//localhost:8011"
       */
     const default_api_server_url = "//localhost:8011"
    
     /**
      * 静态资源域名 webfunny-admin 的部署域名
      * 本地请使用 "//localhost:8010"
      */
     const default_assets_url = "//localhost:8010"
    
  3. 安装ngnix, 进入nginx的根目录,在配置文件nginx.conf中 http { ... } 节点下,增加一段配置

     1)这段配置代码是必须的,根目录下nginx.conf为配置示例,可以直接复制使用
    
     2)配置完成后,必须要重启nginx,如果重启不生效,可能需要杀掉nginx的进程后,启动
    
     server {
       listen       8010;
       server_name  localhost;
       root /Users/jeffery/MonitorProjects/webfunny-admin; # 这是项目的绝对路径
       try_files $uri /webfunny/index.html;
     }
    
  4. 启动Nginx

  5. 在浏览器地址栏输入:http://localhost:8010/webfunny/home

webfunny-admin's People

Contributors

a597873885 avatar a826604005 avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.