Thinkphp目录结构 App/ ThinkPHP/ // 这个就是Thinkphp的源码,所以这个是不是没有必要上传到github上面呢? index.php
首先这个ThinkPHP目录源文件就有4M左右,不管是提交或者下载都很费劲……
所以在下想这个ThinkPHP目录是不是其实不用提交的呢?
但是如果我没提交ThinkPHP目录源文件进去,我重新clone下来的就只有app目录
和index.php文件
这又明显是不能用的。除非去官网下载ThinkPHP源文件(目录)
放在clone的项目里面才能用。
所以请问最好的方法是怎么样?是提交还是不提交?
In fact, I personally do not recommend uploading the thinkphp source code. You can write the dependent thinkphp version in the readme. Of course, you can also write a script, just like node_module in nodejs is not uploaded
Is there anything that cannot be submitted?
I am using a
Laravel
full-stack framework. Except for the vendor directory, which is for composer, the other files add up to more than 20M. Isn’t this the same push?Compared to Laravel’s 20M or more, what does your ThinkPHP’s 4M count?
The Laravel projects on github are all like this.