Skip to content

API

Fabel edited this page Mar 10, 2013 · 9 revisions

North classes

Aliases

generate - g 
server - s
console - c
db migrate - db m
db rollback - db r
db seed - db s

Generators

application generator

north new app_name

Model generator

north generate model model_name [field:type field2:type ...]

example

north generate model User fname:string lname:string age:integer

Controller generator

north generate controller controller_name [action action2 ... ]

example

north generate controller artilcle index show create

Migration generator

north generate migration migartion_name

example

north generate migration create_users_table

Something went wrong with that request. Please try again.