Table of contents
The CakePHP framework is installed in the "frameworks" folder in the installation directory. To run any command, it is necessary to start the BitNami Console. If you are using a Virtual Appliance or AMI, you can run the commands below directly.
In the "cakephp" folder you can see the following folder schema:
app conf index.php lib plugins README vendors
All the application files are in the "app" folder and only the "app/webroot" directory will be published in the web site.
You should modify the encryption keys in the "app/Config/core.php" file:
Configure::write('Security.salt', '');
Configure::write('Security.cipherSeed', '');
If your application are going to use a database, you can edit the database settings at "app/Config/database.php".
If you want to enable the sample application, you should uncomment the following line at the end of the Apache configuration file "installdir/apache2/conf/httpd.conf".
Include "installdir/frameworks/cakephp/conf/cakephp.conf"
Then restart the Apache server and go to http://mydomain/cakephp from your browser.
$ ./ctlscript.sh restart apache
If you are using PostgreSQL, you should enable the "php_pdo_pgsql" extension in the php.ini file.
You can find more info at http://book.cakephp.org/


Comments