Create a projectContribute
New project
Once the Lenra CLI is installed, you can use it to create a new Lenra app.
from a template
Creating an app from a template is the easiest way to start. The Lenra templates are just git repositories with a basic app that implements the Lenra app API.
You can find the list of available templates here.
To create a new Lenra project you can just run the
lenra new
command. Pass a list of GitHub topics to find the list of corresponding templates. If none is specified, the CLI will let you choose in the full list. You also can specify the name of a target directory for the new app with the--path
option.# new app from javascript template in a new 'my-app' directory lenra new javascript --path my-app # move to the new app dir cd my-app # initialize git versionning git init # start your app lenra dev
Maintained by the Lenra team
We have created a few templates to help you start your next project.
from scratch
If you don't find a template that fits your needs or you want to better understand how it works, you can create a new Lenra app from scratch.
Start developing
Now that you have a new Lenra app project, you can start developing it. Be shure you've understand the Lenra principles before starting.