zoukankan      html  css  js  c++  java
  • satisfy

    一个管理维护satis仓库的web 管理平台

    composer
    composer create-project playbloom/satisfy --stability=dev

    satis.json 配置
    在Project Root目录新建 satis.json
    配置satis.json 内容:

    {
    "name": "Personal Repository",
    "homepage": "http://packages.xx.xx.xx.com:8000",
    "repositories": [
    {
    "type": "vcs",
    "url": "ssh://git@xx.xx.xx.xx:9022/server-web-phplib/cutils.git"
    },
    {
    "type": "vcs",
    "url": "ssh://git@xx.xx.xx.xx:9022/server-web-phplib/qup.git"
    }
    ],
    "require-all": true,
    "archive": {
    "directory": "dist",
    "format": "tar",
    "skip-dev": true,
    "whitelist": [],
    "blacklist": [],
    "checksum": true
    }
    }

    App配置
    move app/config.php.dist app/config.php
    修改 $app['repository.pattern'] = 'ssh://git@1xx.xx.xx.xx:9022/[a-zA-Z0-9-_./]+.git';
    修改 $app['auth.use_login_form'] = true;

    配置 $app['auth.users'] 用户密码

    (信息) 目前线上admin的密码是xxxxx

    nginx 配置
    {
    listen 8360;
    server_name packages.xx.xx.xx.com;

    access_log logs/access.log;
    error_log logs/error.log;
    root /home/q/system/satis/web/;
    
    location / {
        if (!-f $request_filename) {
            rewrite ^/(.*)$ /index.php last;
        }
    }
    
    location ~ .php$ {
    fastcgi_pass    127.0.0.1:9000;
    include         fastcgi.conf;
    fastcgi_param   PROJECT_INCLUDE_PATH  ".:/usr/local/php-7.1.11/lib/php";
    }
    

    }

    ok

    成功没有捷径
  • 相关阅读:
    strut2 国际化
    strut2 常量
    strut2 自定义类型转换器
    strut2基于XML配置方式对Action中的指定方法校验
    strut2 输入校验2
    strut2 输入校验
    strut2 模拟拦截器
    strut2 多个文件上传
    strut2 单个文件上传
    2015.01.01今年的第一天
  • 原文地址:https://www.cnblogs.com/orpheus89/p/9394006.html
Copyright © 2011-2022 走看看