最初
- Workspace name : お好みで
- Template : PHP,Apache&...
CakePHP2のgit clone
~workspace $ git clone -b 2.x git://github.com/cakephp/cakephp.git
ApacheのDocumentRoot設定変更
$ cd /etc/apache2/sites-enabled
$ sudo vi 001-cloud9.conf
# DocumentRoot /home/ubuntu/workspace
DocumentRoot /home/ubuntu/workspace/cakephp
$ service apache2 restart
PostgreSQLの起動
$ sudo service postgresql start
cakephp/app/Config/core.php
Configure::write('Security.salt', 'hogehogehogehogehogehogehogehogehogehoge');
Configure::write('Security.cipherSeed', 'piyopiyopiyopiyopiyopiyopiyopiyo');
以上