The Getting page covers how to start a Trails app from scratch.
For a more detailed getting started tutorial please folow : Detailled instructions
Please follow the installation Guide.
Trails uses Yeoman to generate scaffolding for new applications, and to create resources inside the application.
$ yo trails --help
Usage:
yo trails
Generators:
Create New Model
yo trails:model <model-name>
Create New Controller
yo trails:controller <controller-name>
Create New Policy
yo trails:policy <policy-name>
Create New Service
yo trails:service <service-name>
Once installation is complete, begin your journey!
$ node server.js
We don't recommend the use of npm start because of memory wastes, but you can still use it.
For more information about npm start memory wastes, please read: The “npm start” pattern wastes a lot of RAM