-
Notifications
You must be signed in to change notification settings - Fork 1
/
README
executable file
·66 lines (59 loc) · 2.74 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
EvaCakePHP visual bake plugin
license : http://creativecommons.org/licenses/by/3.0/
<div xmlns:cc="http://creativecommons.org/ns#" xmlns:dct="http://purl.org/dc/terms/" about="http://creativecommons.org/choose/results-one?q_1=2&q_1=1&field_commercial=y&field_derivatives=y&field_jurisdiction=&field_format=&field_worktitle=EvaCakePHP&field_attribute_to_name=Benny+Leonard+Enrico+Panggabean&field_attribute_to_url=http%3A%2F%2Fwhitboks.com&field_sourceurl=http%3A%2F%2Fwhitboks.com&field_morepermissionsurl=http%3A%2F%2Fwhitboks.com&lang=en_US&n_questions=3"><span property="dct:title">EvaCakePHP</span> (<a rel="cc:attributionURL" property="cc:attributionName" href="http://whitboks.com">Benny Leonard Enrico Panggabean</a>) / <a rel="license" href="http://creativecommons.org/licenses/by/3.0/">CC BY 3.0</a></div>
How To Use:
1. Download
2. Extract in your app/plugins/evacakephp
3. if you using mysql: open file app/plugins/evacakephp/config/schema/evacakephp.sql
if you using postgre sql: open file app/plugins/evacakephp/config/schema/evacakephp_postgresql.sql
export the database to your DB Engine
4. if your using mac osx or linux don't forget to chmod your app/config , app/controller , and app/views directory
5. in your app/config/database.php use this config
//if mysql
var $default = array(
'driver' => 'mysql',
'persistent' => false,
'host' => 'localhost',
'login' => 'xxxx',
'password' => 'xxx',
'database' => 'something',
);
var $Evacakephp = array(
'driver' => 'mysql',
'persistent' => false,
'host' => 'localhost',
'login' => 'xxx',
'password' => 'xxx',
'database' => 'evacakephp',
);
//if postgres
var $default = array(
'driver' => 'postgres',
'persistent' => false,
'host' => 'localhost',
'port' => 5432,
'login' => 'xxx',
'password' => 'xxx',
'database' => 'EvaCakePhpPlugin',
'schema' => 'public',
);
var $Evacakephp = array(
'driver' => 'postgres',
'persistent' => false,
'host' => 'localhost',
'port' => 5432,
'login' => 'xxx',
'password' => 'xxx',
'database' => 'EvaCakePhpPlugin',
'schema' => 'evacakephp',
);
6. open your browser " http://localhost/your_app_name/evacakephp/eva_applications "
7. optional download cakephp debug_kit https://github.com/cakephp/debug_kit/downloads
and edit
class EvacakephpAppController extends AppController {
//uncomment this if your using toolbar component
var $components = array('RequestHandler','Session','Cookie','DebugKit.Toolbar');
var $helpers = array('Session','Js' => array('Jquery'),'Form', 'Html');
}
8.when give name of your model in table naming conventions are plural and underscored example if : your tabel name post then you give name : posts , test_posts
in http://localhost/your_app_name/evacakephp/eva_models