jelly-auth-demo is a demo user registration application for Kohana 3 using Jelly and jelly-auth.
jelly-auth-demo has only been tested with MySQL.
-
Download
git clone git://github.com/rob/jelly-auth-demo.git
-
Initialize and update the submodules
git submodule init git submodule update
-
Rename
database.sample.php
todatabase.php
inapplication/config/database.php
-
Edit
application/config/database.php
with your database details -
Insert the MySQL tables. The SQL data file can be found in
data/sql/jelly-auth-schema.sql
# example (command-line) mysql -u <user> -p <db_name> < data/sql/jelly-auth-schema.sql
-
(Optional) Change the values of
salt_pattern
andsession_key
inapplication/config/auth.php
If you are installing jelly-auth-demo into a subdirectory (e.g., http://domain.com/jelly-auth-demo/), you will need to change RewriteBase
in .htaccess
and base_url
in application/bootstrap.php
.