Let's setup & create your first Pergola Project in less than 5 minutes via CLI.
To create a new project you first have to setup your CLI.
What you'll need
Install the CLI
See how to install the CLI here.
Setup the pergola command line interface
Setting up the command line interface is fairly simple. Ask your Pergola administrator for the api endpoint. If you already have the url, just execute the following command
pergola login --endpoint [endpoint-url]
Pergola automatically creates a
.pergolafolder in your home directory that contains the
Now you can proceed with the login process, and you are ready to go.
Create your first project
To create a project, simply run
pergola create project my-new-project --git-url ssh://email@example.com/pgla/demo-project.git --display-name hello-world
When your project is created, you can check it with
pergola list project