{ID} - 3.3.1 Development

Tempatkan instalasi cake di dalam document root web server Anda. Misal, asumsikan document root web server Anda adalah /var/www/html, tata letak direktori akan terlihat di filesystem seperti ini:

  • /var/www/html
    • /cake_1_2
      • /app
      • /cake
      • /docs
      • /index.php
      • /vendors

Untuk melihat aplikasi CakePHP Anda, arahkan perambah (browser) Anda ke http://www.example.com/cake_1_2/

{EN} - 3.3.1 Development

A development installation is the fastest method to setup Cake. This example will help you install a CakePHP application and make it available at http://www.example.com/cake_1_2/. We assume for the purposes of this example that your document root is set to /var/www/html.

Unpack the contents of the Cake archive into /var/www/html. You now have a folder in your document root named after the release you've downloaded (e.g. cake_1.2.0.7296-rc2). Rename this folder to cake_1_2. Your development setup will look like this on the file system:

  • /var/www/html
    • /cake_1_2
      • /app
      • /cake
      • /docs
      • /vendors
      • /index.php

If your web server is configured correctly, you should now find your Cake application accessible at http://www.example.com/cake_1_2/.

Differences

Lines: 1-19Lines: 1-18
 <title>Development</title> <title>Development</title>
-<p>A development installation is the fastest method to setup Cake. This example will help you install a CakePHP application and make it available at <kbd>http://www.example.com/cake_1_2/&lt;/kbd&gt;. We assume for the purposes of this example that your document root is set to <kbd>/var/www/html</kbd>.</p>r /><p>Unpack the contents of the Cake archive into <kbd>/var/www/html&lt;/kbd&gt;. You now have a folder in your document root named after the release you've downloaded (e.g. <kbd>cake_1.2.0.7296-rc2</kbd>). Rename this folder to <kbd>cake_1_2</kbd>. Your development setup will look like this on the file system:</p> +<p>Tempatkan instalasi cake di dalam document root web server Anda. Misal, asumsikan document root web server Anda adalah /var/www/html, tata letak direktori akan terlihat di <em>filesystem</em> seperti ini:</p>
 <ul> <ul>
- <li><kbd>/var/www/html</kbd> + <li>/var/www/html
  <ul>  <ul>
- <li><kbd>/cake_1_2</kbd> + <li>/cake_1_2
  <ul>  <ul>
- <li><kbd>/app</kbd></li>
<li><kbd>/cake</kbd></li>
<li><kbd>/docs</kbd></li>
<li><kbd>/vendors</kbd></li>
<li><kbd>/index.php</kbd></li>
+ <li>/app</li>
<li>/cake</li>
<li>/docs</li>
<li>/index.php</li>
<li>/vendors</li>
  </ul>  </ul>
  </li>  </li>
  </ul>  </ul>
  </li>  </li>
 </ul> </ul>
-<p>If your web server is configured correctly, you should now find your Cake application accessible at <kbd>http://www.example.com/cake_1_2/<kbd>. </p> +<p>Untuk melihat aplikasi CakePHP Anda, arahkan perambah (<em>browser</em>) Anda ke http://www.example.com/cake_1_2/</p>