mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
30 lines
525 B
Plaintext
30 lines
525 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# sails
|
|
|
|
> A realtime enterprise level MVC framework built on top of Node.js.
|
|
> More information: <https://sailsjs.com/documentation/reference/command-line-interface>.
|
|
|
|
- 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}}`
|