LoginSignup
0
2

More than 5 years have passed since last update.

Cloud9でCakePHP2の環境を5分でつくる

Last updated at Posted at 2017-01-14

最初

  • 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');

以上

0
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
2