Git Product home page Git Product logo

nimbly-lite's Introduction

Nimbly Lite


Requirements

  1. Create a HubSpot development sandbox for testing and development purposes. Link

  2. Create a personal CMS access key to enable authenticated access to your account. Link

Quick start

  1. npm install - install all development dependencies
  2. Add to .env file your portal name and PERSONAL_ACCESS_KEY Read more
  3. npm run upload - upload all local changes to remote HubSpot portal (one-directional sync [local development -> Hubspot])

Other commands

  • npm run watch - watch process to automatically upload all local changes to remote HubSpot portal
  • npm run upload - upload all local changes to remote HubSpot portal
  • npm run build - to build and compile all local CSS and JS assets. It is included on upload command.
  • npm run fetchModules - fetch only published modules from remote HubSpot portal. Be careful with this command because it will rewrite all local changes.
  • npm run fetchAll - fetch all published changes from remote HubSpot portal. Be careful with this command because it will rewrite all local changes.
  • npm test - run all tests locally

Custom multi-account authentication

  1. add .env file to your theme
  2. add the name of the portal with the prefix hub_ as the variable name and the personal access key as the variable value
  3. Run Hubspot Theme commands (fetch, upload, watch)

.env file example

hub_sandbox=personal_access_key
hub_project1=personal_access_key
hub_project2=personal_access_key

nimbly-lite's People

Contributors

dmh avatar dudnikgg avatar flabbykitty avatar mesosa avatar pxamike avatar

Stargazers

Roman 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.