Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CakePHP 3.0 Version #54

Open
josegonzalez opened this issue Aug 25, 2014 · 5 comments
Open

CakePHP 3.0 Version #54

josegonzalez opened this issue Aug 25, 2014 · 5 comments

Comments

@josegonzalez
Copy link
Member

We definitely want to keep the same features the app-template has - maybe even expand it if necessary - so filing this bug such that we don't forget.

We should also pull in whatever changes are necessary from the cakephp/app repo.

@davidyell
Copy link
Member

Can we keep it a vanilla install. As additions will be managed with Composer it's easier for people to add their own bits to it. Otherwise it means that people will have to remove plugins, update composer and then actually edit their code to remove any package code.

@ADmad
Copy link
Member

ADmad commented Sep 25, 2014

@davidyell Those who want vanilla can just use cakephp/app.

@davidyell
Copy link
Member

Oh yes, sorry. Forgot that obviously with 3.x the app would be included from Composer.

@josegonzalez
Copy link
Member Author

Okay so I think this can be done quite simply:

  • clone cakephp/app
  • set this gist as the app.default.php file
  • add this gist as the .env.default file
  • around line 60 of bootstrap.php, add the following:
josegonzalez\Dotenv\Loader::load([
    'filepaths' => [
        __DIR__ . DS . '.env',
        __DIR__ . DS . '.env.default',
    ],
    'toServer' => true,
    'skipExisting' => ['toServer'],
    'raiseExceptions' => true
]);

Open question: Do we want to keep or remove all the cakephp/app history? If keep, it makes updating it in the future potentially easier.

@jadb
Copy link
Member

jadb commented Jun 9, 2015

This should also require @stable were possible. Probably also crud-view and authenticate? How does everyone feel about that?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants