Creating your project template with the Nimbella CLI
With the Nimbella CLI, you can create a project template that you can use to instantly start building your project.
To create a project template, run this command in your command prompt:
After running this command in your command prompt, you will see a message stating your project is now available.
The message is similar to the following text, with your chosen project name replacing the placeholder
<project-name> shown below.
Creating a YAML file for your project
NOTE: What makes Nimbella standout is that you don't need a YAML file for most simple projects. But if you want to customize specific things you are deploying, you can build a
.yml file for it.
To generate a
.yml file when you create a project. Run the command:
--config flag tells the CLI to generate a
.yml template you can use for your project. You should see this template inside of your project folder:
Basics of the project structure.
After creating the project folder, you'll see that it contains two folders. A
web folder to add directories and files with static web content and a
packages folder to create serverless functions.