0

I cloned the Cakephp source code from github and follow the cookbook to get started.
But it confuse me a lot for many files mentioned in the cookbook missing in the github repository.
Say config/app.default.php (Cookbook3.x p341), I want to configure the database connection, but there is no directory name config on github, and the only App.php I could found is in the Core directory, and it isn't look like a configuration file at all.
Is it wrong for me to just clone the source code from github?
I can't install cakephp with composer, I have to install cakephp in the source code way.

ps.Win7 + php5.6 + cakephp 3.1.7

bozzmob
  • 12,364
  • 16
  • 50
  • 73
ylChen
  • 1
  • 2
  • Take a good hard look again into https://github.com/cakephp/app/tree/master/config – mark Jan 23 '16 at 18:21
  • 2
    Possible duplicate of [installing cakephp 3 manually, without composer](http://stackoverflow.com/questions/30412844/installing-cakephp-3-manually-without-composer) – ndm Jan 23 '16 at 19:18
  • Why can't you use Composer to install CakePHP? – drmonkeyninja Jan 24 '16 at 12:10
  • @mark Thanks a lot. I was reading the cookbook 2.x p36 and followed the instruction to cloned the github.com/cakephp/cakephp.git. But it seems like that it's not the application repositroy. Now I am ok with the installation, but I am still confused with the difference between cakephp/cakephp and cakephp/app. – ylChen Jan 24 '16 at 16:03
  • @drmonkeyninja It's about the Internet blocked, can't connect to the distribute server. – ylChen Jan 24 '16 at 16:03
  • Blocked inet for a developer is like a painter with his hands tied behind his back. It does not really work out either way. Best to use proxy tunnels or sth, but trying to workaround the issue is not sth for the long run (or move to a better suited country). – mark Jan 24 '16 at 17:39

0 Answers0