junichi11 / cakephp-netbeans

CakePHP support in NetBeans
http://cakephp.org
71 stars 18 forks source link

Install CakePHP3.x with Composer #56

Closed junichi11 closed 9 years ago

junichi11 commented 11 years ago

Now, it's difficult to implement this feature.

git clone problem

We use composer create-project command to create the new App in CakePHP 3.x.

composer create-project --stability=dev cakephp/app ./my-cake3-app

First, NetBeans new project wizard creates nbproject directory. Then, it runs specific action (e.g. unzip a file, change file contents, and so on).

git clone command is used when project is created with create-project command. But we will get error because target directory is not empty (i.e.has nbproject directory)

workaround

1. Use the same way as CakePHP2.x when plugin runs git command.

i.e. -- git

  1. git init
  2. git remote add
  3. git config
  4. git pull -- composer
  5. composer install

    2. Unzip zip file from github repository

junichi11 commented 10 years ago

I'll implement this feature with using "new" new project wizard (Not for php).

junichi11 commented 9 years ago

CakePHP3 features are separated : https://github.com/junichi11/cakephp3-netbeans