-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsteps-taken-to-install.txt
29 lines (21 loc) · 1.07 KB
/
steps-taken-to-install.txt
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
** Download kohana v3.3.1 from http://kohanaframework.org/download
** In bootstrap.php
* change 'base_url' => '/kohana-nerds',
* added Cookie::$salt = 'nerdPraveen';
** add database.php to application/config [see database.php in repo]
** add template.php in views
** add assets dir and sub directories [for bootstrap and other]
[simple example]
** In bootstrap.php enable modules 'database' and 'orm' in array Kohana::modules
** import kohana_example.sql (find in app root directory)
** check controller, model and views
[auth module example]
** In bootstrap.php enable modules 'database', 'orm' and 'auth' in array Kohana::modules
** import kohana_auth.sql (find in app root directory)
** add auth.php to config
** check controller, views and messages (i.e. for validations)
** by default 2 roles are there login and admin (where login is considered as general user)
note:
* you may need to disable auth page link in template, if you are using simple example sql; else
will show DB related error(s).
* make sure application/logs and application/cache directories are writable.