@@ -1,6 +1,7 @@ It's as easy as:- perl -MCPAN -e'install Jifty'+ perl -MCPAN -eshell + notest install Jifty jifty app --name MyJiftyApp cd MyJiftyApp
It's as easy as:
perl -MCPAN -eshell
notest 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.
If you want to go into more detail, you may look here:
- Basic Concepts
- Creating an application
- Starting the Server
- Create Pages and Templates
- Understanding and tuning the config file
You can view a 20 min screencast here -- Note: the screencast (and other docs on that site) make use of the 'Login' plugin, which is not yet ready for use, and does not install with the Jifty distro, so don't try to copy what you see and expect it to work exactly the same. For more information see cpan rt ticket 24107