Skip to content

dudnikgg/nimbly-lite

 
 

Repository files navigation

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

About

Nimbly Lite theme

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 84.7%
  • CSS 12.7%
  • JavaScript 2.5%
  • Other 0.1%