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

    成功没有捷径
  • 相关阅读:
    Codeforces 451A Game With Sticks
    POJ 3624 Charm Bracelet
    POJ 2127 Greatest Common Increasing Subsequence
    POJ 1458 Common Subsequence
    HDU 1087 Super Jumping! Jumping! Jumping!
    HDU 1698
    HDU 1754
    POJ 1724
    POJ 1201
    CSUOJ 1256
  • 原文地址:https://www.cnblogs.com/orpheus89/p/9394006.html
Copyright © 2011-2022 走看看