Skip to content

gopeak/masterlab

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
app
 
 
bin
 
 
doc
 
 
lib
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

MasterLab

MasterLab是一款简单高效、基于敏捷开发的项目管理工具,以事项驱动和敏捷开发最佳实践作为设计思想,同时参考了Jira和Gitlab优秀特性发展而来,适用于互联网团队进行高效协作和敏捷开发,交付极致卓越的产品。

Travis branch codecov

功能特点

  • 简单易用,拥有良好的用户体验和扁平化风格
  • 创新的将思维导图和项目事项进行整合,让项目管理更轻松
  • 重视质量,服务器端代码(php)遵循PSR2标准规范,编写单元和功能测试
  • 支持敏捷开发(待办事项列表,迭代冲刺,看板)
  • Masterlab团队本身践行敏捷开发最佳实践(迭代开发,单元测试,持续集成,自动化部署),树立开发极致产品的典范
  • 项目管理,包含事项,迭代,看板,统计,图表,设置功能
  • 基于事项驱动,用它管理项目,跟踪bug,新功能,任务,优化改进等,提高团队协作效率
  • 支持整个项目或迭代的甘特图计划
  • 可定制的状态状态流和界面
  • 直观数据统计和图表,可以随时了解项目和迭代的进展 

在线演示

http://demo.masterlab.vip 账号 master 密码 testtest

安装

Docker方式安装

https://github.com/gopeak/masterlab-docker

传统方式安装

3.0版本安装步骤如下:

  1. 搭建php的运行环境

    - Web服务器 : Nginx 或 Apache
    
    - Php程序
      - 版本 >= 7.3 , 建议使用php7.4
      - 必备扩展 :curl,mysqlnd,pdo,mysqli,mbstring,redis,swoole
      - php.ini   修改 upload_max_filesize = 8M
      - php.ini   修改 post_max_size = 8M
      - php.ini   修改 memory_limit = 128M  
      - php.ini   修改 max_execution_time = 30  
      
    - Mysql数据库
      - 版本 >= 5.7
      
    -  程序目录(含子目录)读写权限
    -  masterlab\bin  
    -  masterlab\upgrade  
    -  masterlab\storage  
    -  masterlab\public\install 
    -  masterlab\plugin 
    
  2. 下载最新版本或master分支代码,将根目录的运行依赖库vendor.zip(php7.2 php7.1的使用vendor-7172.zip)解压出来,

      # 解压后的vendor目录结构
      - masterlab
        - vendor
            - autoload.php 
    
  3. 在web服务器添加虚拟主机并映射到masterlab的 /public 目录
    如果Web服务器是Apache,首先编辑主配置文件httpd.conf

    <Directory />
        AllowOverride none
        Require all denied
    </Directory>
    

    替换为

    <Directory />
      Options FollowSymLinks
      AllowOverride All
      #Allow from All
    </Directory>
    

    找到 httpd-vhosts.conf 文件,添加:

    <VirtualHost *:80>
      # 请更改为实际的masterlab目录
      DocumentRoot "c:/www/masterlab/public"
      # 这里使用的是示例域名,你可以更改为你的域名
      ServerName  www.yoursite.com
      <Directory />
          Options Indexes FollowSymLinks
          AllowOverride All
          #Allow from All
      </Directory>
      # 请更改为实际的masterlab目录
      <Directory "c:/www/masterlab/public">
          Options  Indexes FollowSymLinks
          AllowOverride All
          #Order allow,deny
          #Allow from All
      </Directory>
    </VirtualHost>
    

    如果Web服务器是Nginx

    server {
        listen 80;
        # 这里使用的是示例域名,你可以更改为你的域名
        server_name www.yoursite.com;
        # masterlab的入口访问路径,请更改为实际的masterlab目录
        root /data/www/masterlab/public;
        index index.html index.htm index.php; 
        gzip on;
        gzip_min_length 1k;
        gzip_buffers 4 16k;
        #gzip_http_version 1.0;
        gzip_comp_level 2;
        gzip_types  application/javascript  text/plain application/x-javascript  application/json  text/css application/xml text/javascript application/x-httpd-php;
        gzip_vary off;
        gzip_disable "MSIE [1-6]\.";
        location ~* \.(jpg|jpeg|gif|png|ico|swf)$ {
            expires 3y; 
            access_log off; 
            # gzip off;
        }
        location ~* \.(css|js)$ {
            access_log off;
            expires 3y;
        }
        location ~ ^/files/.*\.(php|php5)$ {
            deny all;
        } 
        location ~ ^/attachment/.*\.(php|php5)$ {
            deny all;
        }
        location  /{
            if (!-e $request_filename) {
                    rewrite ^/((?!upload).*)$ /index.php/$1 last;
                    break;
             }
        }
        location ~ \.php {
            fastcgi_pass   127.0.0.1:9000;
            fastcgi_index  index.php;
            fastcgi_split_path_info ^(.+\.php)(.*)$;
            fastcgi_param PATH_INFO $fastcgi_path_info;
            fastcgi_param  SCRIPT_FILENAME  $document_root$fastcgi_script_name;
            include        fastcgi_params;
         }
    }
    
  4. 重启web服务器

  5. 运行 masterlab_socket(Windows操作系统)

    masterlab_socket 是用于执行异步任务和定时计算事项的后台程序,下载地址 https://github.com/gopeak/masterlab_socket/releases

    # 在masterlab目录直接运行
    ./bin/masterlab_socket.exe start -d 
    
  6. 如果是Linux系统, 安装php的swoole扩展, 可代替masterlab_socket:

    # 进入 masterlab/bin 目录,执行
    php ./swoole_server.php start
    # 参数 start  正常启动 
    # 参数 daemon 以守护进程方式启动 
    # 参数 stop 结束进程 
    
  1. 在浏览器访问 /install ,根据提示进行安装

更多文档

http://www.masterlab.vip/help.php

截 图

首页 事项列表 看板 WBS

在使用中有任何问题,请使用以下联系方式联系我们

QQ技术支持群: 314155057 https://jq.qq.com/?_wv=1027&k=51oDG9Z