We’ve created a CLI (command-line interface) which offers the following functionalities.
You may download the latest version from the GitHub release page.
There’s a binary version for Linux, Mac and Windows for 32 and 64 bit architecture. If you’re not sure, you probably want the 64 bit version.
You can also download it via a
$ curl -L -o backend.gz \ https://github.com/staticbackendhq/cli /releases/download/v1.0.0/ binary-for-linux-64-bit.gz
windows in the URL above. For Windows add
The downloaded file is compressed to make it faster to download.
This next command decompresses it, replacing
gunzip backend.gz or gzip -d backend.gz
Every file has “permissions” about whether it can be read, written, or executed.
So before we use this file, we need to mark this file as executable:
chmod +x backend
backend file is now executable. That means running
But we want to be able to say
backend --help without specifying the full file
path every time. We can do this by moving the
backend binary to one of the
directories listed in your
PATH environment variable:
sudo mv backend /usr/local/bin
You may run
backend to see the usage.
You can start building your application locally using the
$> backend server
Create your account once you’re ready to test the production environment.
$> backend account create "email@example.com"
You’ll get a link to enter a credit card to start your trial and get an email with the keys needed in the configuration file.
You need a
.backend.yml configuration file at the root of your project:
region: na1 pubKey: your-public-key rootToken: your-root-token
At this time we only support
na1 as region. The public key and your root token
will be sent by email when you create your account.
Once your configuration file is setup you can execute command like:
$> backend db list "repository-name"
Make sure to check the available commands via:
$> backend --help $> backend db --help
We are actively working on this tool to make sure you have the best experience possible building and managing your applications.
Any feedback is highly appreciated.