@@ -9,10 +9,13 @@ Edit lib/MyJiftyApp/Model/User.pm to add the following lines in the schema section:- column name =>+ # note that '>' should be the greater-than + # sign. it isn't displaying properly in the Wiki + # right now. + column name => type is 'text', is mandatory;- column email =>+ column email => type is 'text'; And then run this command to set up your database
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:
# note that '>' should be the greater-than
# sign. it isn't displaying properly in the Wiki
# right now.
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.