Code Monkey home page Code Monkey logo

jussitb's Introduction

jussitb

npm

NPM

CLI Utils for:

  • Deploy files and templates on VTEX CMS
  • Create a vtex local environment/project architecture
  • Helpers to create static pages, controller and modules

Installation

$ npm install -g jussitb

jussitb global usage

$ jussitb deploy

Provide your email and account name to login, after wait the upload processes.

jussitb.lock.json

The process will generate a jussitb.lock.json file in root path of your project.

This file is used to cache files and prevent upload files with same content, we recomend to not delete or ignore this file.

jussitb.auth.json

The process will generate a jussitb.auth.json file in root path of your project.

This file is used to cache your auth login cookie, we recomend to ignore this file in .gitignore.

Extra

Other utils commands:

Help

$ jussitb -h

Deploy auto provide account and email

$ jussitb deploy --account <accountName> --email <email>

Force update all files ignoring lockfile

$ jussitb deploy --force

Deploy Template Files

$ jussitb html

Deploy SubTemplate Files

$ jussitb sub

Deploy ShelvesTemplate Files

$ jussitb shelf

Deploy Assets Files

$ jussitb assets

jussitb project workflow

Run jussitb createProject to create a new project folder. Create Project

Provide a project name, vtex-account and if you want to sync the vtex registered templates,


After a long winter (installing de dependencies) you will be able to run de project with gulp: Live Reload

With gulp we run a reverse proxy server to css and js local files, so you can edit and see the changes with live reload. And you can work with: ES6, ES6 Modules, SCSS, Nitro controllers and modules. We highly recommend to make this project a github (private or public) repository


After all work done, you can deploy your store: Deploy Project

With npm run deploy the project will be compiled and deployed in the specific vtex account.


Another npm scripts in your project:

Deploy the project after compile the project with all static pages

$ npm run deploy-pages

Create a new Nitro.controller() after provide a controller name

$ npm run create-controller

Create a new Nitro.module() after provide a module name

$ npm run create-module

Create a new static page folder after provide a controller name

$ npm run create-page

jussitb's People

Contributors

dependabot[bot] avatar gfpaiva avatar gustavobpaula avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 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.