Cheesecake 2.0 安裝記錄

edited 十月 2013 in CakePHP
1. svn checkout https://svn.cakeforge.org/svn/cheesecake/trunk/cheesecake2
2. chmod -R 707 tmp/ webroot/files/ webroot/img/
3. mysql -uroot -p kiang_cake_cheesecake2 < config/sql/cheesecake2.sql
4. cp config/sql/database.php.default config/sql/database.php
5. pico config/sql/database.php
class DATABASE_CONFIG {
var $default = array(
'driver' => 'mysql',
'persistent' => false,
'host' => 'localhost',
'port' => '',
'login' => 'root',
'password' => 'xxx',
'database' => 'kiang_cake_cheesecake2',
'schema' => '',
'prefix' => 'CHEESECAKE2_',
'encoding' => 'utf8'
);
}
6. 執行下面 SQL 語法
INSERT INTO `CHEESECAKE2_users` ( `id` , `username` , `password` , `role` , `name` , `email` , `created` , `modified` )
VALUES ( 1, 'kiang', '4eeaa6eff90f09401165590f1ba44fedd8db2e24', 'Admin', 'kiang', '[email protected]', NOW( ) , NOW( ) ) ;
7. 如果看到正常的畫面,基本上就可以透過 kiang / kiang 登入系統試試

相關討論:
http://cheesecake-photoblog.org/forum/index.php?board=10.0

原始討論: http://twpug.net/x/modules/newbb/viewtopic.php?topic_id=3511

評論

Sign In or Register to comment.