From 77344da696c7b225fcae13b21351c1eb69240cb7 Mon Sep 17 00:00:00 2001 From: steventhanna Date: Tue, 5 Jan 2016 23:25:47 -0600 Subject: [PATCH] sails: page add Sails: Replaced general generate command with more specific examples. Removed sails --version command becuase it was redundant Sails: added header tag --- pages/common/sails.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 pages/common/sails.md diff --git a/pages/common/sails.md b/pages/common/sails.md new file mode 100644 index 0000000000..c5e1b077b2 --- /dev/null +++ b/pages/common/sails.md @@ -0,0 +1,23 @@ +# sails + +> Sails.js is a realtime enterprise level MVC framework built on top of Node.js. + +- Start Sails + +`sails lift` + +- Create new Sails project + +`sails new {{projectName}}` + +- Generate Sails API + +`sails generate {{name}}` + +- Generate Sails Controller + +`sails generate controller {{name}}` + +- Generate Sails Model + +`sails generate model {{name}}`