Walle 瓦力 web部署系统

Walle 一个web部署系统工具,可能也是个持续发布工具,配置简单、功能完善、界面流畅、开箱即用!

 

安装步骤:

1. git clone 首先配置成功(去百度找答案)

    打开git bash命令窗口执行:

git clone git@github.com:meolu/walle-web.git

如下为成功后结果

2.切换目录
cd walle-web

 3.配置数据库

vi config/web.php # 设置mysql连接

完成 composer 的安装

4.

先安装: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):


方法/步骤

  1.  

    根据提示大概是需要tokens

    1、生成tokens;

    登录github,点击"settings",然后点击”Personal access tokens“;

  2.  

    点击”Generate new token“ 填写Token description,然后点击"Generate token"生成token

  3.  

    将生成的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 完成
 
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值