Skip to content

Instantly share code, notes, and snippets.

@jdecode
Last active April 29, 2020 11:06
Show Gist options
  • Save jdecode/a2b923bd34aee1541c0adc9d15673ead to your computer and use it in GitHub Desktop.
Save jdecode/a2b923bd34aee1541c0adc9d15673ead to your computer and use it in GitHub Desktop.
Install CakePHP and Vue

CakePHP + Vue Prerequisite : composer, npm, Ubuntu (same commands will run on Windows/Mac as well, if everything else is configured correctly, and you know where to run the commands).

  1. Install CakePHP composer create-project --prefer-dist cakephp/app cakue This will download and install CakePHP in the folder cakue You can call it anything, if you do not give any name, then by default folder name would be app

  2. Install Vue

  3. Merge .gitignore (important, ensures that vendor and node_modules both folders are ignored - at the very least)

@jdecode
Copy link
Author

jdecode commented Apr 29, 2020

The folders that are made writable are "logs" and "tmp" (and the sub-folders).

cakephp-set-folder-permissions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment