Coder Social home page Coder Social logo

projectmanager's Introduction

项目管理系统

DL 项目管理系统

注意事项

  1. 在打包的时候,注意修改 /src/renderer/env.js 中的NOW变量

  2. /src/renderer/api 创建config.js配置接口地址

  3. 在打包前记得在环境变量中设置GH_TOKEN,获取GH_TOKEN的具体方法: 访问 https://github.com/settings/tokens 并点击生成新令牌 (Generate new token),设置环境变量的方法这里不赘述

  4. 关于热更新慢的问题,可以尝试升级webpack到4.x版本,我尝试过会发生很多问题3.x和4.x还是有很多不一样的地方,若有精力,可以捣鼓一下~

  5. package.json中找到以下代码,根据个人情况进行修改

    "publish": [
      {
        "provider": "github",
        "owner": "Shiroyan",     // 你的Github用户名
        "repo": "ProjectManager" // 你的仓库名
      }
    

基本的使用方法

# 安装项目依赖
npm install

# 运行代码,在生成的时候需要耗费5分钟左右~
npm run dev

# 打包应用,记得把NOW变量设置为CLIENT
export GH_TOKEN="xxxxxxxxxxxxx" //  linux, mac
npm run build

# 打包Web,记得把NOW变量设置为WEB
npm run build:web

# 修复代码的格式问题,在ESLint大量报错时,记得使用这条命令
npm run lint

本项目使用

projectmanager's People

Contributors

shiroyan avatar

Watchers

 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.