Walle 一個web部署系統工具,可能也是個持續發佈工具,配置簡單、功能完善、界面流暢、開箱即用!php
安裝步驟:mysql
1. git clone 首先配置成功(去百度找答案)nginx
打開git bash命令窗口執行:laravel
以下爲成功後結果git clone git@github.com:meolu/walle-web.git
2.切換目錄
cd walle-web
3.配置數據庫git
vi config/web.php # 設置mysql鏈接
完成 composer 的安裝
4.github
先安裝:composer global require "fxp/composer-asset-plugin:1.0.0-beta3"
成功後再安裝:composer install:
會報以下錯誤:Could not fetch https://api.github.com/repos/laravel/laravel/zipball/716e65268ae088e5bd73e505acf9695c127aff66, please create a GitHub OAuth token to go over the API rate limitHead to https://github.com/settings/tokens/new?scopes=repo&description=Composer+on+homestead+2015-09-20+1100to retrieve a token. It will be stored in "/home/vagrant/.composer/auth.json" for future use by Composer.Token (hidden):
方法/步驟
-
根據提示大概是須要tokensweb
一、生成tokens;sql
登陸github,點擊"settings",而後點擊」Personal access tokens「;數據庫
-
點擊」Generate new token「 填寫Token description,而後點擊"Generate token"生成tokenapache
-
將生成的token複製,而後黏貼到控制檯(隱藏的因此看不見),而後回車。ok完美解決問題;
也能夠composer config –global github-oauth.github.com 上面的token,再次安裝laravel
再安裝 :composer install
Your requirements could not be resolved to an installable set of packages.
Problem 1
- The requested package fxp/composer-assert-plugin could not be found in any version, there may be a typo in the package name.
Potential causes:
- A typo in the package name
- The package is not available in a stable-enough version according to your minimum-stability setting
see <https://groups.google.com/d/topic/composer-dev/_g3ASeIFlrc/discussion> for more details.
Read <https://getcomposer.org/doc/articles/troubleshooting.md> for further common problems.
Installation failed, reverting ./composer.json to its original content.
若有以上報錯能夠是試試:
composer global require "fxp/composer-asset-plugin:~1.0.3" composer create-project --prefer-dist yiisoft/yii2-app-basic helloYii
# 導入數據庫:
./yii migrate/up
最後
配置nginx/apache的webroot指向walle-web/web 完成