You're not currently signed in. Sign in.

Previous revision | Next revision
@@ -26,4 +26,4 @@ jifty server - For something a bit more in depth, check out [the manual](JiftyManual).+ For something a bit more in depth, check out [the manual](JiftyManual). The code for Wifty (which powers this site), which is a bit more complex than the tutorial in the manual, may also be a good place to start -- you can grab the code via `svn co http://svn.jifty.org/svn/jifty.org/wifty/trunk`.

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';

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. The code for Wifty (which powers this site), which is a bit more complex than the tutorial in the manual, may also be a good place to start -- you can grab the code via svn co http://svn.jifty.org/svn/jifty.org/wifty/trunk.