Giter VIP home page Giter VIP logo

applications-builder-cli's Introduction

๐Ÿšจ Deprecated ๐Ÿšจ

This package has been deprecated in favor of DevoInc/App-Developer-Kit.

Therefore, this repository will serve as archive and will be no longer supported.

You can access the new project repository here: https://github.com/DevoInc/App-Developer-Kit

Devo Application Builder CLI

This is a command line interface tool for building and testing applications for Devo platform.

Features

  • Create apps based on templates.
  • Test the applications on the Devo platform.
  • Verify the requirements for a suitable enviroment.

Requirements

  • Git
  • Node >= 12 and <= 14
  • npm >= 6.0.0
  • Devo account
  • Devo Runner extension for Chrome

Installation

From npmjs

sudo npm install @devoinc/applications-builder-cli -g

Local repository

sudo npm install -g

Usages

Run the CLI with the dab-cli command.

Check

Check the system for a suitable environment.

dab-cli check

Help

To see all the params use --help.

dab-cli [command] --help

Create

Create a new folder with the application content in the current directory.

dab-cli create <name> [--template <template>]

Params:

  • app_name: Name of the application to generate. You can include the path where you want to generate it, otherwise it will be generated in the current directory.
  • template: Zip file or git repository URL to use as template.

By default, the template used is the one from the [email protected]:DevoInc/applications-builder-template.git repository. You can use another template specifying a zip file path or a git repository.

Build

Build the application for a specific mode. Execute this command from the root directory of the application.

dab-cli build <mode> [--release]

Params:

  • mode: The build mode used. It can be: dev, pre or pro.
  • release: Prepend the timestamp to the name file and save it in the releases folder.

Modes:

  • dev: Development mode. Watches for changes in the code and lets us use Devo Runner. The code is not minified.
  • pre: Pre-production mode. Builds minified code but lets us use the Devo Runner.
  • pro: Production mode. Builds minified code ready for upload to Devo.

Remember its important you make npm install in the project folder before you can make one build of the project.

Translations

Check the translations included in the application. Execute this command from the root directory of the application.

dab-cli trans

applications-builder-cli's People

Contributors

adrianfega avatar alber-devo avatar jehogo avatar miguelsalva avatar worvast avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.