Quick Summary
The latest pebl CLI release can create base pebl projects for either Python or Go, helping you get started quickly.
Longform
One feedback we've heard is that it can be a bit cumbersome to set up a new project for pebl, especially when the setup doesn't work on the first try.
In order to make this process more efficient and get you started right away, the latest pebl CLI has a built-in command to create correct pebl projects that can serve as a starting point.
Go
For Go based projects, run:
$ pebl init go my-project
:: initializing project with endpoint: hey.pebl.rocks
:: initializing go project...
:: creating main.go ...
$
Note that initializing a Go projects relies on the system installed Go binary, so make sure that is installed before invoking pebl init
.
Python
For Python based projects, run:
$ pebl init python my-project
:: initializing project with endpoint: hey.pebl.rocks
:: creating Dockerfile ...
:: creating main.py ...
$
Running
Once initialized, the project is immediately ready! You can execute pebl run
inside the initialized project to get started.
Top comments (0)