Basic usage
We will start with a simple example here. More advanced usage you will find in the Advanced section.
Assume you have a node.js
project.
#
Create configGo to your project repo and create lets.yaml
by running lets --init
.
Now add .lets
to .gitignore
. .lets
is a lets directory where it stores some internal metadata. You do not need to commit this directory.
#
Write first commandFirst of all you want to be able to run your project.
You have your package.json
with all dependencies and scripts in it.
Lets create first command:
That's it. You've just created your first lets
command.
Run lets
in terminal to see all available commands.
#
Run first commandNow you can use this command to start your server.
lets run