This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

roast

2.3.17 • Public • Published

roast-logo-wordmark-black-github

Roast.io CLI

This CLI (command line interface) for https://www.roast.io lets you deploy JavaScript single page apps (React, Angular, Ember, and more) from your command line (terminal)

Installation

npm install roast -g

Usage

Deploy a "single page app" JavaScript project that lives in my-project and builds to dist directory:

cd my-project/
roast deploy -p dist

Configuration and Authentication

The first time you use the roast CLI command you'll be asked to authenticate.

Your access token is stored in ~/.roast/config.

Roast also stores a local .roast file in the folder where you run roast deploy from where the site_id is stored.

From CI (circleci, Travis CI, Jenkins, etc.)

  1. When you push your app to your CI server, you can configure the required site_id and path with either:
    1. The local .roast file (so you could check this into your repository)
    2. or CLI options: roast deploy -s MY-SITE-ID -p dist
  2. and must set the ROAST_TOKEN environment variable to your API token (found either in ~/.roast/config) or in the https://www.roast.io web UI after signing in
  ROAST_TOKEN=MY_SECRET_TOKEN roast deploy -s MY-SITE-ID -p dist

Package Sidebar

Install

npm i roast

Weekly Downloads

51

Version

2.3.17

License

MIT

Unpacked Size

30.7 kB

Total Files

18

Last publish

Collaborators

  • jotto