Menu
本站点已经完全迁移到 Laravel China 社区,购买过课程的用户请 点击此处登录 ,然后按照迁移指南操作即可。

1.7. 本书源码

代码授权协议

本书源码在此:https://github.com/summerblue/larabbs

书中代码基于 MIT 协议发布,前端部分使用了 Michael Hartl 的《Ruby on Rails Tutorial》中的代码。

The MIT License

Copyright (c) 2016 Summer

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

The MIT License

Copyright (c) 2016 Michael Hartl

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
/*
 * ----------------------------------------------------------------------------
 * THE BEERWARE LICENSE (Revision 42):
 * Michael Hartl wrote this code. As long as you retain this notice you
 * can do whatever you want with this stuff. If we meet some day, and you think
 * this stuff is worth it, you can buy me a beer in return.
 * ----------------------------------------------------------------------------
 */
上一篇 下一篇
评论数量: 7
wuyunbin

我直接使用源码,按照GitHub上的提示来完成部署时,遇到了这个问题,你们有遇到吗?
Last login: Mon Nov 13 15:10:04 on ttys000
wuyunbindeMacBook-Pro:~ wuyunbin$ cd ~/Code/larabbs/
wuyunbindeMacBook-Pro:larabbs wuyunbin$ php artisan

Warning: require(/Users/wuyunbin/Code/larabbs/vendor/autoload.php): failed to open stream: No such file or directory in /Users/wuyunbin/Code/larabbs/artisan on line 18

Fatal error: require(): Failed opening required '/Users/wuyunbin/Code/larabbs/vendor/autoload.php' (include_path='.:') in /Users/wuyunbin/Code/larabbs/artisan on line 18
wuyunbindeMacBook-Pro:larabbs wuyunbin$ sudo composer install
Password:
Do not run Composer as root/super user! See https://getcomposer.org/root for details
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Your requirements could not be resolved to an installable set of packages.

Problem 1

  • Installation request for laravel/horizon v1.0.5 -> satisfiable by laravel/horizon[v1.0.5].
  • laravel/horizon v1.0.5 requires ext-pcntl * -> the requested PHP extension pcntl is missing from your system.
Amos

@wuyunbin 试试直接composer install就好了

wuyunbin

@Amos 这个问题已经解决好了.谢谢哈

jinpeng0314

为什么我git clone源码的时候会报错 fatal: Could not read from remote repository.
只能安装homestead环境才能拉取源码吗?集成环境不能拉取源码?

DukeAnn

yarn install 报错
error An unexpected error occurred: "EPROTO: protocol error, symlink '../acorn/bin/acorn' -> '/home/wwwroot/larabbs/node_modules/acorn-dynamic-import/node_modules/.bin/acorn'".

ringobool

homestead 报这样的错 怎么回事呀
count(): Parameter must be an array or an object that implements Countable

chenwei90

@DukeAnn yum install xxxx


请不要发布不友善或者负能量的内容。
刻意练习,每日精进。
4
点赞
2484
浏览
7
评论

作者
Summer
A man seeking for Wisdom.