/cakephp_hause-book

hausbuch tool by cakephp

Primary LanguagePHP

hausbuch_cakephp

hausbuch tool by cakephp

Intial set up

Copy vendor

Vagrant up

Set up MySQL 5.6

  • sudo mysql_secure_installation ... Same as usual + mysql
  • create user username@localhost identified by 'password';
  • grant all on hausbuch. * to username@localhost;

app.php

  • Copy from app.default.php
  • Write down under "Datasoures"... 'username', 'password', 'database'.

Migrate

  • cd /var/www/html
  • bin/cake migrations migrate

Apache setting for CSS

  • sudo vi /etc/httpd/conf/httpd.conf
<Directory "/var/www/html">
  Options FollowSymLinks
  AllowOverride All
</Directory>
  • sudo systemctl restart httpd

Set up for CentOS + Vagrant + Cakephp + MySQL

https://qiita.com/hidelou/items/a1320bd35d878d9c228d