首頁 >php教程 >php手册 >Gitlist 安装与配置

Gitlist 安装与配置

WBOY
WBOY原創
2016-06-06 20:09:442330瀏覽

如果你想做为自己的Git 版本控制系统,你可能希望在自己的服务器、网站上中展示仓库中的内容。 Gitlist 是一个好的选择。 Gitlist 是一个Git仓库查看器,是一个PHP开源程序。 GitList 能够实现匿名在线浏览版本控制系统源码仓库中的内容。 GitList 是自由和

如果你想做为自己的Git 版本控制系统,你可能希望在自己的服务器、网站上中展示仓库中的内容。Gitlist 是一个好的选择。

Gitlist 是一个Git仓库查看器,是一个PHP开源程序。 GitList 能够实现匿名在线浏览版本控制系统源码仓库中的内容。GitList 是自由和开放源码软件, 它支持查看不同版本中的文件,提交历史和差异。这应用程序使用 Twitter Bootstrap 来开发前台UI,并基于Silex PHP框架和 Twig PHP模板引擎构建。

Gitlist 是一个Git仓库查看器,是一个PHP开源程序。

Gitlist 安装

git clone https://github.com/klaussilveira/gitlist.git
cd gitlist
curl -sS https://getcomposer.org/installer | php-cli
php-cli composer.phar install

运行以上命令后,安装结果:

Loading composer repositories with package information
Installing dependencies from lock file
  – Installing symfony/process (dev-master 46b24c5)
    Cloning 46b24c5905096914d467b769027e36433c7b5421
  – Installing klaussilveira/gitter (0.2.0)
    Downloading: 100%
  – Installing pimple/pimple (dev-master v1.0.2)
    Cloning v1.0.2
  – Installing symfony/routing (2.2.x-dev 6fea997)
    Cloning 6fea997908607f18a970a3848ec89c8e775255f3
  – Installing symfony/http-foundation (2.2.x-dev 9a87bc5)
    Cloning 9a87bc5856de55ebbc8b3e66c3c686e6aef35ba7
  – Installing symfony/event-dispatcher (2.2.x-dev v2.2.0-RC3)
    Cloning v2.2.0-RC3
  – Installing psr/log (1.0.0)
    Loading from cache
  – Installing symfony/http-kernel (2.2.x-dev 3bfc8fd)
    Cloning 3bfc8fda577fb671b2d9395a59fbc87f449fa61f
  – Installing silex/silex (dev-master 803f809)
    Cloning 803f809cdaa409e5769b24db952655d7e9187677
  – Installing symfony/filesystem (2.2.x-dev v2.2.0-RC3)
    Cloning v2.2.0-RC3
  – Installing twig/twig (dev-master 3999169)
    Cloning 399916916533589c95dc04e1afd4aeefa34928ad
  – Installing symfony/twig-bridge (2.2.x-dev 50bbc4a)
    Cloning 50bbc4a10d34a71325b58940c4887726b8a30841

symfony/routing suggests installing doctrine/common (~2.2)
symfony/routing suggests installing symfony/config (2.2.*)
symfony/routing suggests installing symfony/yaml (2.2.*)
symfony/event-dispatcher suggests installing symfony/dependency-injection (2.2.*)
symfony/http-kernel suggests installing symfony/browser-kit (2.2.*)
symfony/http-kernel suggests installing symfony/class-loader (2.2.*)
symfony/http-kernel suggests installing symfony/config (2.2.*)
symfony/http-kernel suggests installing symfony/console (2.2.*)
symfony/http-kernel suggests installing symfony/dependency-injection (2.2.*)
symfony/http-kernel suggests installing symfony/finder (2.2.*)
silex/silex suggests installing symfony/browser-kit (>=2.1,silex/silex suggests installing symfony/css-selector (>=2.1,silex/silex suggests installing symfony/dom-crawler (>=2.1,silex/silex suggests installing symfony/form (To make use of the FormServiceProvider, >= 2.1.4 is required)
symfony/twig-bridge suggests installing symfony/form (2.2.*)
symfony/twig-bridge suggests installing symfony/security (2.2.*)
symfony/twig-bridge suggests installing symfony/templating (2.2.*)
symfony/twig-bridge suggests installing symfony/translation (2.2.*)
symfony/twig-bridge suggests installing symfony/yaml (2.2.*)
Generating autoload files

Gitlist 配置

运行以下命令进行配置:

mkdir -p /home/git/repositories
cd /home/git/repositories
git clone https://github.com/klaussilveira/gitlist.git
cd /var/www/gitlist
chmod 777 cache
cp -rf config.ini-example config.ini

(...)
Read the rest of Gitlist 安装与配置 (4 words)


© lixiphp for LixiPHP, 2013. | Permalink | No comment | Add to del.icio.us
Post tags: Composer, git, gitlist

Feed enhanced by Better Feed from Ozh

陳述:
本文內容由網友自願投稿,版權歸原作者所有。本站不承擔相應的法律責任。如發現涉嫌抄襲或侵權的內容,請聯絡admin@php.cn