Deploy on Hostgator

CakePHP installation includes .htaccess
All you have to do is upload the whole folder

raul ~/webs/bookmarker-tutorial [master !] $ ls -a
./   bin/     .git/  plugins/  tests/  vendor/   composer.json  .editorconfig   .gitignore  index.php    phpunit.xml.dist
../  config/  logs/  src/      tmp/    webroot/  composer.lock  .gitattributes  .htaccess   LICENSE.txt  README.md

You have to upload all that in your home/public_html folder (or in a subfolder). and nothing else! (if you put inside the html_folder, everything else should be in the webroot subfolder)

If you want to do the “app” folder inside home, you have to edit these files

  • webroot/index.php
  • config/paths.php