2016-01-06 08:25:47 +03:00
|
|
|
# sails
|
|
|
|
|
|
|
|
> Sails.js is a realtime enterprise level MVC framework built on top of Node.js.
|
|
|
|
|
2016-01-13 14:04:46 +03:00
|
|
|
- Start Sail:
|
2016-01-06 08:25:47 +03:00
|
|
|
|
|
|
|
`sails lift`
|
|
|
|
|
2016-01-13 14:04:46 +03:00
|
|
|
- Create new Sails projec:
|
2016-01-06 08:25:47 +03:00
|
|
|
|
|
|
|
`sails new {{projectName}}`
|
|
|
|
|
2016-01-13 14:04:46 +03:00
|
|
|
- Generate Sails AP:
|
2016-01-06 08:25:47 +03:00
|
|
|
|
|
|
|
`sails generate {{name}}`
|
|
|
|
|
2016-01-13 14:04:46 +03:00
|
|
|
- Generate Sails Controlle:
|
2016-01-06 08:25:47 +03:00
|
|
|
|
|
|
|
`sails generate controller {{name}}`
|
|
|
|
|
2016-01-13 14:04:46 +03:00
|
|
|
- Generate Sails Mode:
|
2016-01-06 08:25:47 +03:00
|
|
|
|
|
|
|
`sails generate model {{name}}`
|