Walle 瓦力 web部署系统
Walle 一個(gè)web部署系統(tǒng)工具,可能也是個(gè)持續(xù)發(fā)布工具,配置簡(jiǎn)單、功能完善、界面流暢、開(kāi)箱即用!
?
安裝步驟:
1. git clone 首先配置成功(去百度找答案)
? ? 打開(kāi)git bash命令窗口執(zhí)行:
git clone git@github.com:meolu/walle-web.git如下為成功后結(jié)果 2.切換目錄 cd walle-web
?3.配置數(shù)據(jù)庫(kù)
vi config/web.php # 設(shè)置mysql連接完成 composer 的安裝
4.
先安裝:composer global require "fxp/composer-asset-plugin:1.0.0-beta3"成功后再安裝:composer install:
會(huì)報(bào)如下錯(cuò)誤: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):
方法/步驟
根據(jù)提示大概是需要tokens
1、生成tokens;
登錄github,點(diǎn)擊"settings",然后點(diǎn)擊”P(pán)ersonal access tokens“;
點(diǎn)擊”Generate new token“ 填寫(xiě)Token description,然后點(diǎn)擊"Generate token"生成token
將生成的token復(fù)制,然后黏貼到控制臺(tái)(隱藏的所以看不見(jiàn)),然后回車(chē)。ok完美解決問(wèn)題;
也可以composer config –global github-oauth.github.com 上面的token,再次安裝laravel
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.
如有以上報(bào)錯(cuò)可以是試試:
composer global require "fxp/composer-asset-plugin:~1.0.3" composer create-project --prefer-dist yiisoft/yii2-app-basic helloYii
# 導(dǎo)入數(shù)據(jù)庫(kù): ./yii migrate/up
最后 配置nginx/apache的webroot指向walle-web/web 完成
總結(jié)
以上是生活随笔為你收集整理的Walle 瓦力 web部署系统的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。
- 上一篇: 用for循环打印出大写字母的ASCII码
- 下一篇: g4600黑苹果efi_在黑苹果系统下挂