Skip to content

Latest commit

 

History

History
49 lines (31 loc) · 1.48 KB

README.md

File metadata and controls

49 lines (31 loc) · 1.48 KB

DeWeb CLI

DeWeb CLI is a command-line tool designed for developers to manage website deployments on the Massa blockchain. It provides commands for uploading, managing, and debugging website files directly on the blockchain, simplifying the deployment process.

For more information about the DeWeb CLI, how to use it, and how to upload a website to the Massa blockchain, see the DeWeb CLI documentation.

Getting Started

Prerequisites

To use and work on the DeWeb CLI, you need to have the following tools installed:

  • Node.js (version 18.0 or higher) and npm installed. You can check your versions with:

    node -v
    npm -v

    If you don't have Node.js installed, you can download it from the official website.

  • A Massa account. If you don't have one, you can create one using the Massa Wallet available as a plugin of Massa Station. You can follow the instructions in the Massa Wallet documentation to install the wallet and create an account.

Installation

  1. Install dependencies:

    npm install
  2. Build the CLI:

    npm run build
  3. The CLI will be stored in the ./bin directory and can be run using:

    npm run start

Run in development mode

To run the CLI in development mode, you can use:

npm run dev