You're not currently signed in. Sign in.

Previous revision | Next revision
@@ -15,6 +15,8 @@ column email => type is 'text'; + (NOTE: The text above which says '>' should be replaced by the greater-than symbol in your code. It isn't displaying properly in the Wiki right now.) + And then run this command to set up your database jifty schema --setup

It's as easy as:

   perl -MCPAN -e'install Jifty'

   jifty app --name MyJiftyApp
   cd MyJiftyApp
   jifty model --name User

Edit lib/MyJiftyApp/Model/User.pm to add the following lines in the schema section:

       column name =>
           type is 'text',
           is mandatory;
       column email =>
           type is 'text';

(NOTE: The text above which says '>' should be replaced by the greater-than symbol in your code. It isn't displaying properly in the Wiki right now.)

And then run this command to set up your database

   jifty schema --setup

When you're ready to use your (somewhat simplistic) new user database, start the standalone jifty server for your application:

   jifty server

For something a bit more in depth, check out the manual.