请问tp项目往github中上传Thinkphp源文件是不是不科学?
过去多啦不再A梦
过去多啦不再A梦 2017-05-02 09:37:33
0
2
709
Thinkphp目录结构 App/ ThinkPHP/ // 这个就是Thinkphp的源码,所以这个是不是没有必要上传到github上面呢? index.php

首先这个ThinkPHP目录源文件就有4M左右,不管是提交或者下载都很费劲……
所以在下想这个ThinkPHP目录是不是其实不用提交的呢?
但是如果我没提交ThinkPHP目录源文件进去,我重新clone下来的就只有app目录index.php文件这又明显是不能用的。除非去官网下载ThinkPHP源文件(目录)放在clone的项目里面才能用。
所以请问最好的方法是怎么样?是提交还是不提交?

过去多啦不再A梦
过去多啦不再A梦

reply all (2)
迷茫

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 aLaravelfull-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.

      Latest Downloads
      More>
      Web Effects
      Website Source Code
      Website Materials
      Front End Template
      About us Disclaimer Sitemap
      php.cn:Public welfare online PHP training,Help PHP learners grow quickly!