CakePHP3 Tutorial

Next: Setup Ngnix for Cakephp3 UP: TOC

First step is to download Cakephp3 software and extract it to the correct directory.

cd /usr/local/www
mkdir sharing_timetable
cd sharing_timetable

mkdir cakephp3
cd cakephp3

# download and extract Cakephp
fetch https://github.com/cakephp/cakephp/releases/download/3.0.6/cakephp-3-0-6.zip

unzip cakephp-3-0-6.zip
x cakephp-3.0.6/ x cakephp-3.0.6/LICENSE.txt x cakephp-3.0.6/README.md x cakephp-3.0.6/VERSION.txt x cakephp-3.0.6/composer.json x cakephp-3.0.6/config/ x cakephp-3.0.6/config/bootstrap.php x cakephp-3.0.6/config/cacert.pem x cakephp-3.0.6/config/config.php x cakephp-3.0.6/contrib/ x cakephp-3.0.6/contrib/pre-commit x cakephp-3.0.6/src/ x cakephp-3.0.6/src/Auth/ x cakephp-3.0.6/src/Auth/AbstractPasswordHasher.php x cakephp-3.0.6/src/Auth/BaseAuthenticate.php x cakephp-3.0.6/src/Auth/BaseAuthorize.php .... x cakephp-3.0.6/tests/Fixture/SpecialTagsFixture.php x cakephp-3.0.6/tests/Fixture/TagsFixture.php x cakephp-3.0.6/tests/Fixture/TestPluginCommentsFixture.php x cakephp-3.0.6/tests/Fixture/ThingsFixture.php x cakephp-3.0.6/tests/Fixture/TranslatesFixture.php x cakephp-3.0.6/tests/Fixture/UsersFixture.php x cakephp-3.0.6/tests/Fixture/UuiditemsFixture.php x cakephp-3.0.6/tests/Fixture/UuidportfoliosFixture.php x cakephp-3.0.6/tests/Fixture/rss.xml x cakephp-3.0.6/tests/Fixture/sample.xml x cakephp-3.0.6/tests/Fixture/soap_request.xml x cakephp-3.0.6/tests/Fixture/soap_response.xml x cakephp-3.0.6/tests/bootstrap.php
chmod -R o+w logs
chmod -R o+w tmp

rm cakephp-3-0-6.zip


ls -altr
ls -altr total 112 -rw-r--r-- 1 root wheel 819 May 28 16:55 phpunit.xml.dist -rw-r--r-- 1 root wheel 648 May 28 16:55 index.php -rw-r--r-- 1 root wheel 1203 May 28 16:55 composer.json -rw-r--r-- 1 root wheel 964 May 28 16:55 README.md -rw-r--r-- 1 root wheel 337 May 28 16:55 .travis.yml -rw-r--r-- 1 root wheel 140 May 28 16:55 .htaccess -rw-r--r-- 1 root wheel 329 May 28 16:55 .editorconfig -rw-r--r-- 1 root wheel 39022 May 28 16:55 composer.lock drwxr-xr-x 3 root wheel 512 Jun 12 06:06 .. drwxr-xr-x 5 root wheel 512 Jun 12 06:06 tmp drwxr-xr-x 4 root wheel 512 Jun 12 06:06 tests drwxr-xr-x 8 root wheel 512 Jun 12 06:06 src drwxr-xr-x 2 root wheel 512 Jun 12 06:06 plugins drwxr-xr-x 3 root wheel 512 Jun 12 06:06 config drwxr-xr-x 2 root wheel 512 Jun 12 06:06 bin drwxr-xr-x 5 root wheel 512 Jun 12 06:06 webroot drwxr-xr-x 16 root wheel 512 Jun 12 06:06 vendor drwxr-xrwx 2 root wheel 512 Jun 12 06:08 logs drwxr-xr-x 11 root wheel 512 Jun 12 06:08 .

In the next chapter we will setup nginx for Cakephp

Next: Setup Ngnix for Cakephp3 UP: TOC