Skip to Main Content

Getting Started

Installation

npm install -g lux-framework

Creating Your First Project

Use the new command to create your first project.

lux new <app-name>

Generators

Lux allows you to use the CLI to generate boilerplate for the following types:

  • model
  • controller
  • serializer
  • middleware
  • migration
  • resource
  • util
lux generate <type> <name> [attrs...]

Running

To run your application use the serve command.

cd <app-name>
lux serve