Skip to content

pixelant/randomforest-nimbly-child-2023

Repository files navigation

Nimbly Lite Child


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

About

No description, website, or topics provided.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published