mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-01-06 00:45:38 +03:00
sails: page add
Sails: Replaced general generate command with more specific examples. Removed sails --version command becuase it was redundant Sails: added header tag
This commit is contained in:
parent
f3aba7930a
commit
77344da696
23
pages/common/sails.md
Normal file
23
pages/common/sails.md
Normal file
@ -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}}`
|
Loading…
Reference in New Issue
Block a user