Quick Summary
pebl is a cloud computer that is completely programmable right from your application code. Try out the new release by installing it:
$ curl https://www.pebl.io/install | sh
We would like to thank all the new users that have joined our discord community! We really appreciate everyone that has tried pebl and reached out with comments & feedback.
In release 0.1.1 we added mount capability,
providing an easy way to host static websites with pebl.
We're adding onto that with two new features:
- versioned folder uploads
- better cli support for folder management
cli changes
The previous pebl upload has been changed. There is a new root
cli command at pebl folder, with the subdommand pebl folder upload.
The previous pebl upload is now pebl folder upload.
The upload command now automatically creates a new version for each
name that is provided. This makes it easy to ensure that you have
access to each folder version over time.
To reference a specific folder version you can pin the name with the
version (folder_name:version). You can simplify things by referencing
the latest version of the folder by leaving out the version (folder_name).
There are two additional commands under pebl folder, list and get.
versioned folders
$ pebl folder upload build static
:: uploading folder as name static
:: success! the new uploaded version is: coawer
$
Which means you can now reference this specific folder version
with static:coawer.
So to host a static website with this specific folder:
import express from "express";
import * as pebl from "pebl";
await pebl.mount("static:coawer", "/static");
const app = express();
app.use(express.static("/static"));
pebl.service(app, "hey.pebl.rocks");
Updating
CLI
Getting the release is super easy! Just run our install script:
$ curl https://www.pebl.io/install | sh
If you are concerned about executing scripts directly, you can follow a manual installation here.
Node
Simply run npm install within your Node project like so:
$ npm install pebl@0.1.2
Or optionally change package.json to specify 0.1.2:
$ cat package.json
{
"dependencies": {
"pebl": "^0.1.2"
},
// other configs
}
$
then run npm update.
Go
Simply run go get within your Go project like so:
$ go get github.com/peblcloud/go@v0.1.2
Python
Update the Dockerfile within your project to reference the new
release:
$ cat Dockerfile
FROM peblcloud/python:0.1.2
Check pebl's Dockerhub for the complete list of available tags for release 0.1.2.